Code Complexity Report

Source file: /home/sergeyb/sources/src/usr.sbin/pcidump/pcidump.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 9 28 1
main 26 82 491 2
scanpcidomain 4 13 79 1
str2busdevfunc 6 24 185 4
probe 14 34 241 3
dump_pci_powerstate 4 12 77 4
print_pcie_ls 4 11 50 1
dump_pcie_linkspeed 8 30 233 4
dump_pcie_enhanced_caplist 6 23 128 3
dump_caplist 9 28 199 4
dump_type0 19 73 495 3
dump_type1 12 53 482 3
dump_type2 14 52 489 3
dump 8 38 276 3
hexdump 6 17 112 4
pci_nfuncs 3 7 49 2
pci_read 2 16 109 5
pci_readmask 2 16 109 5
dump_rom 10 25 207 3
dump_vga_bios 6 20 124 1
Source file: /home/sergeyb/sources/src/usr.sbin/ypset/ypset.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 5 18 1
bind_tohost 6 45 321 3
main 8 35 208 2
Source file: /home/sergeyb/sources/src/usr.sbin/ldpctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldpctl/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse 6 24 152 2
match_token 32 82 491 3
show_valid_args 9 25 117 1
parse_addr 4 27 202 3
Source file: /home/sergeyb/sources/src/usr.sbin/ldpctl/ldpctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 6 25 1
main 54 180 1173 2
get_ifms_type 4 17 52 1
fmt_timeframe_core 5 28 176 1
show_interface_msg 7 27 172 2
show_discovery_msg 8 31 181 2
show_lib_msg 8 28 189 2
show_nbr_msg 7 26 163 2
show_fib_head 1 6 26 1
show_fib_msg 15 56 363 2
show_interface_head 1 5 17 1
show_fib_interface_msg 7 27 156 1
show_l2vpn_pw_msg 4 18 87 1
show_l2vpn_binding_msg 5 33 175 1
get_media_descr 3 8 48 1
get_linkstate 3 11 77 2
print_baudrate 4 11 80 1
Source file: /home/sergeyb/sources/src/usr.sbin/wsmoused/wsmoused.h
Source file: /home/sergeyb/sources/src/usr.sbin/wsmoused/mouse_protocols.h
Source file: /home/sergeyb/sources/src/usr.sbin/wsmoused/wsmoused.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
wsmouse_identify 16 54 205 1
wsmouse_init 1 5 24 1
skipspace 2 6 26 1
mouse_installmap 13 29 184 1
terminate 2 14 79 1
mouse_click 4 31 232 1
normalize_event 5 24 121 1
treat_event 4 9 57 1
split_event 10 41 242 1
wsmoused 6 30 203 1
usage 1 6 21 1
main 33 113 613 2
Source file: /home/sergeyb/sources/src/usr.sbin/wsmoused/mouse_protocols.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
gettoken 3 9 66 3
mouse_name 3 6 39 1
SetMouseSpeed 11 46 297 2
FlushInput 3 12 81 1
pnpgets 17 75 505 2
pnpparse 31 91 651 3
pnpproto 11 26 179 1
mouse_init 29 107 769 1
mouse_identify 6 32 233 1
mouse_protocol 34 119 929 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6ctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6ctl/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse 6 24 150 2
match_token 29 74 448 3
show_valid_args 9 26 119 1
parse_addr 3 17 122 2
parse_prefix 6 26 201 3
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6ctl/ospf6ctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 25 1
main 74 207 1272 2
show_summary_msg 4 34 178 1
get_ifms_type 5 15 52 1
show_interface_msg 4 24 137 1
show_interface_detail_msg 7 58 340 1
print_link 2 7 24 1
fmt_timeframe 2 7 32 1
fmt_timeframe_core 5 28 176 1
log_id 2 10 54 1
log_adv_rtr 2 10 54 1
show_database_head 15 49 266 3
show_database_msg 7 41 218 1
print_ls_type 8 21 79 1
show_db_hdr_msg_detail 8 26 157 1
print_rtr_link_type 5 15 52 1
print_ospf_flags 4 9 55 1
print_asext_flags 4 9 55 1
print_prefix_opt 6 14 74 1
show_db_msg_detail 28 207 1614 1
show_nbr_msg 5 24 149 1
print_ospf_options 6 11 71 1
show_nbr_detail_msg 3 33 206 1
show_rib_msg 8 36 205 1
show_rib_head 11 38 192 3
print_ospf_rtr_flags 5 9 59 1
show_rib_detail_msg 17 77 442 1
show_fib_head 1 6 24 1
show_fib_msg 11 42 262 1
get_media_descr 3 8 48 1
get_linkstate 3 11 77 2
print_baudrate 4 11 80 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/modify.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ldap_delete 16 56 382 1
ldap_add 32 89 642 1
ldap_modify 37 122 784 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/filter.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ldap_filt_eq 8 23 162 2
ldap_filt_subs_value 12 42 244 2
ldap_filt_subs 8 26 161 2
ldap_filt_and 2 8 48 2
ldap_filt_or 2 8 48 2
ldap_filt_not 2 8 48 2
ldap_filt_presence 4 13 85 2
ldap_matches_filter 9 23 115 2
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/imsgev.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/ber.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 8 36 1
log_verbose 1 4 11 1
logit 1 7 38 3
vlog 4 28 181 3
log_warn 3 18 111 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 41 2
fatal 3 12 61 1
fatalx 1 5 18 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/schema.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
attr_oid_cmp 1 4 26 2
obj_oid_cmp 1 4 26 2
oidname_cmp 1 4 26 2
symoid_cmp 1 4 26 2
lookup_attribute_by_name 2 9 53 2
lookup_attribute_by_oid 1 6 37 2
lookup_attribute 2 6 36 2
lookup_object_by_oid 1 6 37 2
lookup_object_by_name 2 9 53 2
lookup_object 2 6 36 2
lookup_symbolic_oid 6 29 197 2
push_symbolic_oid 3 18 116 3
push_attr 4 19 113 2
push_obj 4 19 113 2
is_oidstr 1 5 26 1
push_name 4 19 112 2
schema_getc 6 23 123 2
schema_ungetc 3 9 52 2
findeol 5 17 74 1
schema_lex 31 69 449 2
schema_new 2 12 76 1
schema_err 2 12 82 3
schema_link_attr_name 3 19 119 3
schema_link_attr_names 2 9 53 2
schema_link_obj_name 3 19 119 3
schema_link_obj_names 2 9 53 2
schema_parse_names 6 23 112 1
schema_free_name_list 2 10 53 1
schema_parse_attrlist 10 42 217 1
schema_parse_objlist 10 39 201 1
schema_validate_match_rule 7 20 159 4
schema_parse_attributetype 59 170 1203 1
schema_parse_objectclass 35 113 737 1
schema_parse_objectidentifier 6 23 137 1
schema_parse 10 39 246 2
schema_dump_names 14 28 218 4
schema_dump_attrlist 14 31 230 4
schema_dump_objlist 14 30 230 4
schema_dump_object 20 38 294 3
schema_dump_attribute 39 60 500 3
schema_dump_match_rule 8 12 108 3
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/ber.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ber_get_element 2 9 53 1
ber_set_header 2 7 42 3
ber_link_elements 5 11 57 2
ber_unlink_elements 4 14 70 1
ber_replace_elements 1 9 55 2
ber_add_sequence 2 8 40 1
ber_add_set 2 8 40 1
ber_add_enumerated 9 22 150 2
ber_add_integer 9 22 150 2
ber_get_integer 2 7 36 2
ber_get_enumerated 2 7 36 2
ber_add_boolean 3 10 59 2
ber_get_boolean 2 7 40 2
ber_add_string 1 4 27 2
ber_add_nstring 3 17 106 3
ber_get_string 2 7 35 2
ber_get_nstring 2 8 46 3
ber_add_bitstring 3 17 104 3
ber_get_bitstring 2 8 46 3
ber_add_null 2 8 40 1
ber_get_null 2 6 24 1
ber_add_eoc 2 8 40 1
ber_get_eoc 2 6 24 1
ber_oid2ber 10 22 187 3
ber_string2oid 6 16 151 2
ber_add_oid 5 22 140 2
ber_add_noid 2 9 69 3
ber_add_oidstring 2 7 47 2
ber_get_oid 6 22 182 2
ber_printf_elements 32 101 583 3
ber_scanf_elements 34 115 626 3
ber_write_elements 7 21 155 2
ber_read_elements 5 15 83 2
ber_free_element 8 11 74 1
ber_free_elements 9 13 87 1
ber_calc_len 11 20 151 1
ber_dump_element 15 35 192 2
ber_dump_header 12 35 266 2
ber_putc 2 6 36 2
ber_write 2 6 45 3
get_id 6 26 173 4
get_len 8 32 174 2
ber_read_element 34 97 605 2
ber_readbuf 3 16 93 3
ber_set_readbuf 1 5 38 3
ber_get_writebuf 2 7 43 2
ber_set_application 1 4 27 2
ber_free 1 4 16 1
ber_getc 2 9 53 2
ber_read 7 21 132 3
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/search.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
uniqdn_cmp 3 8 72 2
is_operational 2 8 38 1
should_include_attribute 11 21 147 3
search_result 11 56 359 4
search_close 3 21 159 1
is_child_of 3 11 93 2
check_search_entry 8 35 224 3
mk_dup 3 14 112 2
is_dup 1 7 54 2
conn_search 38 162 1061 1
ldap_search_root_dse 3 44 324 1
ldap_search_subschema 9 72 503 1
add_index 3 19 121 3
plan_get_attr 3 13 83 3
search_planner 40 136 878 2
filter_free 4 17 107 1
ldap_search 28 141 869 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/uuid.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/evbuffer_tls.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/ldapd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 26 1
ldapd_sig_handler 3 6 36 3
ldapd_sigchld_handler 8 27 137 3
main 26 110 630 2
ldapd_cleanup 2 13 84 1
ldapd_imsgev 9 32 134 3
ldapd_needfd 1 4 14 1
ldapd_auth_classful 7 34 249 2
ldapd_auth_request 2 16 155 2
ldapd_log_verbose 2 8 52 1
ldapd_open_request 5 22 172 2
start_child 10 41 220 7
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control_init 10 36 299 1
control_listen 3 11 78 1
control_cleanup 2 7 35 1
control_accept 8 30 217 3
control_connbyfd 2 9 42 1
control_close 3 16 109 2
send_stats 4 22 218 1
control_imsgev 7 36 226 3
control_needfd 1 4 14 1
control_close_any 2 12 64 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/logmsg.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_host 2 9 63 3
hexdump 7 19 136 4
ldap_debug_elements 74 235 1109 4
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/btest.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 25 94 715 2
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/ldape.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ldape_sig_handler 4 15 69 3
send_ldap_extended_response 8 31 201 5
ldap_refer 14 67 412 4
send_ldap_result 1 5 33 4
ldap_respond 2 7 45 2
ldap_abandon 3 17 88 1
ldap_unbind 1 7 36 1
ldap_compare 11 35 295 1
ldap_starttls 2 9 46 1
ldap_extended 5 30 196 1
ldape 27 112 913 3
ldape_imsgev 8 29 120 3
ldape_needfd 3 12 50 1
ldape_auth_result 3 12 82 1
ldape_open_result 6 26 172 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/auth.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
aci_matches 27 62 348 6
authorized 23 46 332 5
send_auth_request 4 22 170 3
check_password 14 41 368 3
ldap_auth_sasl 10 33 242 3
ldap_auth_simple 25 71 488 3
ldap_bind_continue 2 15 77 2
ldap_bind 7 35 191 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/btree.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/schema.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/uuid.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
time_cmp 5 12 71 2
get_node_addr 14 35 183 1
uuid_create 7 44 287 1
uuid_to_string 1 16 119 3
main 3 15 94 2
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/syntax.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
syntax_cmp 1 4 34 2
syntax_lookup 1 5 40 1
syntax_is_octet_string 1 4 19 3
syntax_is_directory_string 2 4 26 3
syntax_is_printable_string 5 10 83 3
syntax_is_ia5_string 3 9 53 3
syntax_is_integer 5 11 73 3
syntax_is_dn 2 6 34 3
syntax_is_oid 7 15 92 3
syntax_is_uuid 2 12 66 3
syntax_is_numeric_string 4 8 60 3
syntax_is_time 16 29 223 4
syntax_is_gentime 1 4 28 3
syntax_is_utctime 1 4 28 3
syntax_is_country 2 6 35 3
syntax_is_bit_string 7 14 81 3
syntax_is_boolean 2 4 35 3
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
bsnprintf 3 11 69 4
normalize_dn 7 16 107 1
has_suffix 2 8 61 2
has_prefix 2 8 51 2
ber2db 5 45 320 3
db2ber 5 39 251 2
accept_reserve 2 9 53 4
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/imsgev.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
imsgev_init 1 14 124 5
imsgev_compose 2 9 70 7
imsgev_close 1 5 20 1
imsgev_clear 1 6 36 1
imsgev_add 5 14 101 1
imsgev_dispatch 15 46 272 3
imsgev_disconnect 1 4 23 2
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/attributes.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ldap_get_attribute 6 15 102 2
ldap_find_attribute 3 12 78 2
ldap_find_value 5 12 79 2
ldap_add_attribute 8 29 167 3
ldap_set_values 2 18 104 2
ldap_merge_values 4 20 123 2
ldap_del_attribute 5 26 137 2
ldap_del_values 8 35 214 2
ldap_strftime 1 7 42 1
ldap_now 1 4 15 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/btree.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
memncmp 5 12 80 4
memnrcmp 10 20 149 4
btree_cmp 1 4 31 3
common_prefix 10 38 251 4
remove_prefix 4 11 94 3
expand_prefix 1 9 82 4
bt_cmp 2 10 94 4
btval_reset 4 10 54 1
mpage_cmp 3 8 44 2
mpage_lookup 2 12 77 2
mpage_add 1 6 48 2
mpage_free 2 7 29 1
mpage_del 1 7 59 2
mpage_flush 2 8 45 1
mpage_copy 3 16 134 2
mpage_prune 5 13 88 1
mpage_dirty 2 9 58 2
mpage_touch 5 22 157 2
btree_read_page 5 23 165 3
btree_sync 2 6 32 1
btree_txn_begin 8 41 251 2
btree_txn_abort 5 27 176 1
btree_txn_commit 17 87 510 1
btree_write_header 5 30 193 2
btree_read_header 7 37 219 1
btree_write_meta 5 32 271 3
btree_is_meta_page 5 23 142 1
btree_read_meta 15 67 368 2
btree_open_fd 8 47 370 2
btree_open 4 18 111 3
btree_ref 1 5 25 1
btree_close 3 15 85 1
btree_search_node 12 50 360 5
cursor_pop_page 1 9 51 1
cursor_push_page 2 11 73 2
btree_get_mpage 5 21 134 2
concat_prefix 2 13 104 7
find_common_prefix 9 34 262 2
btree_search_page_root 17 53 391 6
btree_search_page 11 37 249 6
btree_read_data 10 52 371 4
btree_txn_get 11 36 227 4
btree_sibling 9 39 262 2
bt_set_key 4 24 163 4
btree_cursor_next 7 34 236 3
btree_cursor_set 9 40 285 4
btree_cursor_first 5 18 137 3
btree_cursor_get 12 38 217 4
btree_new_page 6 27 207 2
bt_leaf_size 2 9 66 3
bt_branch_size 2 8 46 2
btree_write_overflow_data 6 28 187 3
btree_add_node 19 75 580 7
btree_del_node 7 32 261 3
btree_txn_cursor_open 7 22 122 2
btree_cursor_close 3 9 42 1
btree_update_key 6 36 284 4
btree_adjust_prefix 6 37 281 3
btree_move_node 29 127 1044 5
btree_merge 12 63 532 3
btree_rebalance 14 67 510 2
btree_txn_del 19 58 367 4
bt_reduce_separator 7 35 265 3
btree_split 26 141 1153 6
btree_txn_put 23 90 581 5
btree_compact_tree 14 54 408 3
btree_compact 12 59 372 1
btree_revert 2 7 55 1
btree_set_cache_size 1 4 21 2
btree_get_flags 1 4 18 1
btree_get_path 1 4 14 1
btree_stat 2 14 120 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/validate.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
validate_required_attributes 3 16 82 2
validate_attribute 10 37 221 2
validate_dn 18 77 429 2
has_attribute 3 11 52 2
validate_allowed_attribute 5 16 91 2
olist_push 4 14 103 2
olist_free 3 11 54 1
is_super 5 10 67 2
validate_entry 25 100 600 3
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/aldap.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/conn.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ldap_application 1 4 12 1
request_free 2 6 29 1
conn_close 4 25 177 1
conn_disconnect 1 5 24 1
request_dispatch 6 34 205 1
conn_dispatch 5 40 266 1
conn_read 3 16 106 2
conn_write 5 16 105 2
conn_err 3 11 79 3
conn_accept 15 67 450 3
conn_by_fd 2 9 37 1
conn_close_any 3 16 72 0
conn_tls_init 3 15 109 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/ldapd.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/evbuffer_tls.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
bufferevent_add 2 10 54 2
buffertls_readcb 17 63 433 3
buffertls_writecb 13 46 310 3
buffertls_handshakecb 9 37 247 3
buffertls_set 1 9 73 4
buffertls_accept 1 10 81 2
buffertls_connect 1 10 81 2
evtls_read 7 18 145 4
evtls_write 2 9 58 3
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/namespace.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
namespace_begin_txn 7 23 135 4
namespace_begin 1 4 27 1
namespace_commit 5 19 111 1
namespace_abort 1 7 35 1
namespace_open 6 23 189 1
namespace_reopen 2 12 94 1
namespace_reopen_data 2 9 43 1
namespace_reopen_indx 2 9 43 1
namespace_set_fd 3 12 72 4
namespace_set_data_fd 1 4 27 2
namespace_set_indx_fd 1 4 27 2
namespace_close 6 30 202 1
namespace_remove 1 5 26 1
namespace_find 5 23 142 2
namespace_get 2 10 58 2
namespace_exists 2 8 44 2
namespace_ber2db 1 5 31 3
namespace_db2ber 1 4 24 2
namespace_put 6 29 201 4
namespace_add 1 4 30 3
namespace_update 1 4 30 3
namespace_del 2 18 153 2
namespace_has_referrals 1 4 19 1
namespace_lookup_base 7 18 123 2
namespace_for_base 1 4 17 1
namespace_referrals 4 10 60 1
namespace_has_index 3 12 71 3
namespace_queue_request 3 12 73 2
namespace_queue_replay 5 18 124 3
namespace_queue_schedule 1 7 40 2
namespace_cancel_conn 3 15 93 1
namespace_conn_queue_count 2 13 64 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/matching.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
match_rule_lookup 6 14 116 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/index.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
index_attribute 6 34 272 4
index_rdn_key 4 26 185 3
index_rdn 4 17 133 2
unindex_attribute 5 31 237 4
index_entry 3 14 99 3
unindex_rdn 4 16 114 2
unindex_entry 3 14 99 3
index_to_dn 8 45 375 3
Source file: /home/sergeyb/sources/src/usr.sbin/ldapd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/ripctl/ripctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 25 1
main 48 153 953 2
get_ifms_type 4 17 52 1
fmt_timeframe_core 5 29 179 1
mask2prefixlen 2 7 32 1
show_interface_msg 5 25 146 1
show_rib_msg 4 23 120 1
show_nbr_msg 5 25 150 1
show_fib_head 1 5 22 1
show_fib_msg 11 41 246 1
show_interface_head 1 5 17 1
show_fib_interface_msg 7 27 156 1
get_media_descr 3 8 48 1
get_linkstate 3 11 77 2
print_baudrate 4 11 80 1
Source file: /home/sergeyb/sources/src/usr.sbin/ripctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/ripctl/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse 6 24 150 2
match_token 29 74 448 3
show_valid_args 9 25 117 1
parse_addr 3 13 83 2
parse_prefix 4 21 151 3
prefixlen2mask 2 6 30 1
Source file: /home/sergeyb/sources/src/usr.sbin/ftp-proxy/filter.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
add_addr 2 14 136 2
add_nat 11 22 198 8
add_rdr 10 20 181 8
do_commit 2 6 32 1
do_rollback 2 6 32 1
init_filter 6 17 107 3
prepare_commit 2 16 115 1
prepare_rule 8 56 578 4
Source file: /home/sergeyb/sources/src/usr.sbin/ftp-proxy/ftp-proxy.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
client_error 5 15 119 3
client_parse 12 17 132 1
client_parse_anon 3 14 88 1
client_parse_cmd 11 29 226 1
client_read 5 26 163 2
drop_privs 7 14 105 1
end_session 12 30 208 1
exit_daemon 3 11 61 1
get_line 8 26 162 2
handle_connection 24 121 906 3
handle_signal 1 5 27 3
init_session 2 21 128 1
logmsg 3 17 102 3
main 45 176 1098 2
parse_port 33 45 456 1
pick_proxy_port 1 5 18 1
proxy_reply 13 40 248 3
server_error 5 15 119 3
server_parse 8 12 98 1
allow_data_connection 21 70 543 1
server_read 5 27 172 2
sock_ntop 3 17 132 1
usage 1 8 23 1
rdaemon 7 25 138 1
Source file: /home/sergeyb/sources/src/usr.sbin/ftp-proxy/filter.h
Source file: /home/sergeyb/sources/src/usr.sbin/traceroute/traceroute.h
Source file: /home/sergeyb/sources/src/usr.sbin/traceroute/worker.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_exthdr 22 84 471 2
check_tos 2 10 93 2
wait_for_reply 2 11 83 3
dump_packet 3 12 74 1
build_probe4 7 48 393 4
build_probe6 4 31 236 5
send_probe 7 26 156 5
deltaT 1 7 58 2
pr_type 2 6 26 1
packet_ok 3 15 83 6
packet_ok4 30 67 549 5
packet_ok6 41 94 780 5
print 5 15 123 4
get_udphdr 11 35 246 3
icmp_code 3 14 65 4
icmp4_code 16 61 256 3
icmp6_code 8 30 128 3
in_cksum 3 15 94 2
inetname 7 25 196 1
print_asn 10 57 644 1
map_tos 3 43 253 2
gettime 2 7 41 1
Source file: /home/sergeyb/sources/src/usr.sbin/traceroute/traceroute.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 157 576 4020 2
usage 2 18 44 1
Source file: /home/sergeyb/sources/src/usr.sbin/mailwrapper/mailwrapper.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
initarg 2 7 51 1
addarg 3 10 85 2
main 15 60 438 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/l2tp.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-stp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
stp_print 16 61 283 2
stp_print_cbpdu 28 122 625 3
stp_print_tbpdu 1 6 21 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/afnum.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-tftp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
tftp_print 10 50 279 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-smb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
smbfind 3 7 60 2
trans2_findfirst 2 10 50 4
trans2_qfsinfo 5 25 113 4
print_trans2 8 47 411 4
print_browse 11 41 230 4
print_ipc 3 7 48 4
print_trans 6 37 336 4
print_negprot 7 19 157 4
print_sesssetup 7 23 168 4
print_smb 17 65 486 2
nbt_tcp_print 16 61 314 2
nbt_udp137_print 36 104 742 2
nbt_udp138_print 3 10 62 2
netbeui_print 18 67 372 3
ipx_netbios_print 4 14 99 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/radius.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-etherip.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
etherip_print 18 68 418 4
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-cnfp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cnfp_print 16 68 644 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/bpf_dump.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
bpf_dump 8 26 191 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ike.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ike_tab_offset 2 8 53 1
ike_get_cookie 3 13 121 2
ike_print 9 48 322 2
ike_pl_sa_print 8 30 194 2
ike_attribute_print 12 59 423 3
ike_pl_transform_print 11 49 332 3
ike_pl_proposal_print 9 31 218 3
ike_pl_ke_print 3 9 41 3
ipsec_id_print 24 74 538 3
ike_pl_delete_print 9 34 259 2
ike_pl_notification_print 18 71 514 2
ike_pl_vendor_print 7 22 171 3
ike_cfg_attribute_print 32 72 538 3
ike_pl_attribute_print 4 16 129 2
ike_pl_print 42 99 505 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/addrtoname.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-fddi.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_fddi_fc 14 50 188 1
extract_fddi_addrs 4 14 116 3
fddi_print 3 18 109 4
fddi_smt_print 1 4 17 2
fddi_if_print 14 48 335 3
fddi_if_print 1 5 24 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/version.c
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-domain.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ns_nskip 9 27 167 1
blabel_print 7 31 232 1
labellen 6 20 141 1
ns_nprint 20 70 422 2
ns_cprint 3 10 57 1
ns_qprint 8 24 171 3
ns_rprint 59 182 1158 3
ns_print 71 159 1062 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/decnet.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-timed.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
timed_print 13 43 299 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/igrp.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-enc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
enc_if_print 6 37 199 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-rt6.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rt6_print 9 48 339 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/setsignal.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
setsignal 4 12 84 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-icmp6.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
icmp6_cksum 2 24 166 3
icmp6_print 86 352 1879 3
icmp6_opt_print 39 185 1301 2
mld6_print 2 11 75 1
mldv2_report_print 8 57 353 2
mldv2_query_print 12 69 434 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-atm.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
atm_if_print 25 75 498 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-atalk.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
atalk_print 2 19 138 2
atalk_print_llap 8 53 353 2
aarp_print 8 25 186 2
ddp_print 7 30 199 6
atp_print 20 76 458 2
atp_bitmap_print 6 23 129 1
nbp_print 23 69 474 5
print_cstring 5 21 119 2
nbp_tuple_print 6 20 152 5
nbp_name_print 4 15 114 2
ataddr_string 6 29 267 2
ddpskt_string 2 9 52 1
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-hsrp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
hsrp_print 5 38 274 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ripng.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rip6_entry_print 3 10 73 2
ripng_print 15 57 390 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/llc.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/ike.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-frag6.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
frag6_print 4 26 166 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-pfsync.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pfsync_if_print 3 18 101 3
pfsync_ip_print 3 16 118 3
pfsync_print 15 57 333 3
pfsync_print_clr 4 14 116 2
pfsync_print_state 1 7 41 2
pfsync_print_ins_ack 1 7 44 2
pfsync_print_upd_c 1 7 44 2
pfsync_print_upd_req 1 7 44 2
pfsync_print_del_c 1 7 44 2
pfsync_print_bus 3 26 121 2
pfsync_print_tdb 1 7 51 2
pfsync_print_eof 1 4 17 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/ntp.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-dhcp6.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dhcp6opttab_init 1 5 19 0
dhcp6opttab_byname 3 9 47 1
dhcp6opttab_bycode 3 9 41 1
dhcp6ext_print 18 71 396 2
dhcp6_print 27 105 701 4
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-tcp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
tcp_cksum 1 23 190 3
tcp6_cksum 2 24 166 3
tcp_print 123 419 2706 3
print_tcp_rst_data 5 18 85 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/gmt2local.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ip6opts.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ip6_opt_print 13 55 311 2
hbhopt_print 2 17 121 1
dstopt_print 2 19 123 1
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/smb.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/dhcp6.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-dvmrp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dvmrp_print 13 56 275 2
print_report 11 43 268 3
print_probe 7 22 167 3
print_neighbors 8 25 155 3
print_neighbors2 14 43 262 3
print_prune 3 15 98 3
print_graft 3 8 57 3
print_graft_ack 3 8 57 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-pim.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pim_print 11 41 181 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ip6.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ip6_print 49 161 1026 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/nfsfh.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/ipx.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ospf6.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ospf6_print_seqage 3 14 97 2
ospf6_print_bits 3 10 56 2
ospf6_print_ls_type 13 68 288 4
ospf6_print_lshdr 1 12 80 1
ospf6_print_lsaprefix 3 20 137 1
ospf6_print_lsa 33 184 1202 1
ospf6_decode_v3 24 114 637 2
ospf6_print 7 40 244 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/ethertype.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/appletalk.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/fddi.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-gre.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
gre_print 5 22 98 2
gre_print_0 28 98 517 2
gre_print_1 21 77 370 2
gre_sre_print 3 18 88 5
gre_sre_ip_print 8 28 150 4
gre_sre_asn_print 8 26 133 4
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/setsignal.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/ospf6.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-udp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
vat_print 5 20 191 3
rtp_print 13 64 378 3
rtcp_print 17 78 623 2
udp_cksum 1 23 190 3
udp6_cksum 2 24 166 3
udp_print 84 248 1952 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ospf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ospf_print_seqage 3 14 97 2
ospf_print_bits 3 10 56 2
ospf_print_ls_type 7 38 161 4
ospf_print_lshdr 1 14 93 1
ospf_print_lsa 23 145 906 1
ospf_decode_v2 24 113 639 2
ospf_print 12 70 438 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ntp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ntp_print 19 100 586 2
p_sfix 1 11 62 1
p_ntp_time 2 15 79 1
p_ntp_delta 8 42 218 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-netbios.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
netbios_print 4 15 78 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-arp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
arp_print 17 64 559 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-bgp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
num_or_str 4 9 65 3
bgp_notify_minor 8 23 134 2
decode_prefix4 5 24 205 3
decode_prefix6 5 23 193 3
bgp_attr_print 72 279 1471 3
bgp_open_capa_print 17 73 399 2
bgp_open_print 7 47 300 2
bgp_update_print 25 95 585 2
bgp_notification_print 11 52 312 2
bgp_route_refresh_print 2 14 78 2
bgp_header_print 6 30 137 2
bgp_print 13 61 333 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/tcpdump.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lookup_printer 3 9 47 1
init_pfosfp 2 8 32 1
pcap_print_linktype 2 8 44 1
pcap_list_linktypes 6 19 136 1
main 76 248 1254 2
cleanup 4 24 171 1
gotchld 7 14 84 1
default_print_hexl 9 37 301 2
default_print_ascii 6 12 75 2
default_print_unaligned 7 24 151 2
default_print 8 29 181 2
set_slave_signals 1 7 34 1
usage 1 11 43 1
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/savestr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
savestr 4 23 116 1
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/netbios.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-sunrpc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sunrpcrequest_print 7 27 193 3
progstr 4 15 95 1
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ppp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ppp_hdlc_print 9 32 161 2
handle_lcp 16 48 253 2
print_lcp_config_options 27 73 503 1
handle_chap 7 38 205 2
handle_pap 8 41 207 2
handle_ipcp 6 40 274 2
handle_ipv6cp 4 31 172 2
ppp_if_print 13 46 256 3
ppp_ether_if_print 26 99 522 3
pppoe_if_print 42 155 755 4
ppp_if_print 1 7 30 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-slow.c
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/addrtoname.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
intoa 4 25 134 1
getname 15 53 422 1
getname6 12 38 286 1
lookup_emem 6 23 175 1
lookup_bytestring 10 35 303 2
lookup_nsap 10 36 296 1
lookup_protoid 5 19 156 1
etheraddr_string 5 19 130 1
linkaddr_string 7 25 196 2
etherproto_string 3 21 169 1
protoid_string 5 23 170 1
llcsap_string 3 14 113 1
isonsap_string 4 20 136 1
tcpport_string 3 14 114 1
udpport_string 3 14 114 1
ipproto_string 1 4 15 1
init_servarray 6 29 194 1
init_ipprotoarray 5 16 115 1
init_eprotoarray 3 14 104 1
init_protoidarray 2 15 115 1
init_etherarray 8 27 175 1
init_llcsaparray 3 13 89 1
init_addrtoname 3 16 58 2
dnaddr_string 4 15 99 1
newhnamemem 3 15 74 1
newh6namemem 3 15 74 1
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ipx.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ipx_print 1 17 138 2
ipxaddr_string 1 7 66 2
ipx_decode 6 25 130 3
ipx_sap_print 10 45 311 2
ipx_rip_print 6 33 215 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/ospf.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/privsep.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
priv_init 15 53 447 2
priv_exec 31 126 666 2
impl_open_bpf 3 23 182 2
impl_open_dump 4 19 115 2
impl_open_output 2 14 89 2
impl_setfilter 2 6 41 3
impl_init_done 1 7 38 2
impl_gethostbyaddr 3 17 105 1
impl_ether_ntohost 2 11 65 1
impl_getrpcbynumber 2 12 63 1
impl_getserventries 3 17 87 1
impl_getprotoentries 3 16 78 1
impl_localtime 4 17 129 1
impl_getlines 8 37 249 1
impl_pcap_stats 2 9 57 2
priv_init_done 2 8 44 1
priv_gethostbyaddr 2 9 79 5
priv_ether_ntohost 2 8 65 3
priv_getrpcbynumber 2 8 61 3
priv_getserventries 2 6 28 1
priv_getserventry 3 10 81 5
priv_getprotoentries 2 6 28 1
priv_getprotoentry 3 9 65 3
priv_localtime 4 26 183 1
priv_getlines 2 7 42 1
priv_pcap_stats 2 8 49 1
priv_getline 2 6 40 2
may_read 6 18 91 3
must_read 6 17 86 3
must_write 6 17 88 3
test_state 5 19 103 2
logmsg 2 10 53 3
write_command 1 4 23 2
write_zero 1 5 25 1
write_string 1 7 46 2
write_block 1 5 37 3
read_string 3 10 71 4
read_block 3 11 75 4
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/pfctl_osfp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pfctl_file_fingerprints 39 138 873 3
pfctl_clear_fingerprints 2 5 26 2
pfctl_flush_my_fingerprints 2 11 57 1
pfctl_load_fingerprints 4 18 100 2
pfctl_show_fingerprints 1 8 40 1
pfctl_get_fingerprint 17 87 499 1
pfctl_lookup_fingerprint 16 70 422 3
lookup_name_list 2 8 50 2
add_fingerprint 12 47 315 3
import_fingerprint 6 31 199 1
fingerprint_name_entry 6 21 142 2
print_name_list 1 11 75 3
sort_name_list 7 33 200 2
get_int 32 80 487 9
get_str 4 20 141 7
get_tcpopts 22 79 467 10
get_field 8 22 146 3
print_ioctl 21 91 797 1
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/bootp.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/nameser.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-wb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
wb_id 6 39 314 2
wb_rreq 3 13 106 2
wb_preq 3 11 88 2
wb_prep 7 29 242 2
wb_dops 9 29 167 3
wb_rrep 3 18 153 2
wb_drawop 3 16 134 2
wb_print 16 43 261 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-carp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
carp_print 8 29 202 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/ofp_map.c
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-gtp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
gtp_print 3 15 91 4
gtp_decode_ie 10 43 221 3
gtp_print_tbcd 4 15 88 2
gtp_print_user_address 11 23 146 2
gtp_print_apn 6 19 107 2
gtp_print_str 3 7 60 2
gtp_v0_print 7 39 275 4
gtp_v0_print_prime 2 15 108 1
gtp_v0_print_tv 21 130 800 2
gtp_v0_print_tlv 21 76 409 2
gtp_v1_print 22 74 477 4
gtp_v1_print_ctrl 2 8 66 3
gtp_v1_print_user 6 24 163 3
gtp_v1_print_prime 2 14 101 2
gtp_v1_print_tv 32 197 1304 2
gtp_v1_print_tlv 79 261 1180 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-llc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
llc_print 48 162 1123 5
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-mpls.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mpls_print 24 64 301 2
controlword_tryprint 3 15 98 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-sl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sl_if_print 8 31 182 3
sl_bsdos_if_print 5 22 138 3
sliplink_print 7 34 243 3
print_sl_change 2 10 56 2
print_sl_winchange 3 13 63 1
compressed_sl_print 9 37 259 4
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-lldp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lldp_print_str 3 8 57 2
lldp_print_addr 2 7 47 2
lldp_print_id 18 70 290 3
lldp_print 17 95 490 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/privsep_fdpass.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_fd 4 32 223 2
receive_fd 6 42 255 1
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-skip.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
skip_alg_to_name 5 16 82 2
skip_print_old 16 109 621 3
skip_protocol_name 14 19 96 1
skip_print_next 8 13 124 4
skip_print 26 125 835 3
ah_print 17 70 439 3
esp_print 13 54 334 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-mobile.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mobile_print 8 33 211 2
mob_in_cksum 3 19 117 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/extract.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-udpencap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
udpencap_print 7 24 145 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ip.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_mtrace 2 9 82 2
print_mresp 2 9 82 2
igmp_print 19 69 482 3
ip_printroute 8 18 149 3
ip_optprint 15 50 248 2
in_cksum 3 17 107 3
ip_print 56 222 1422 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-radius.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
r_print_att 9 27 199 3
r_print_int 2 7 51 3
r_print_address 2 7 52 3
r_print_string 3 13 77 3
r_print_hex 2 7 57 3
radius_print 10 43 251 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-nfs.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_int64 9 36 194 2
parse_sattr3 7 38 320 2
print_sattr3 7 17 116 2
nfsreply_print 3 12 102 3
parsereq 3 20 156 2
parsefh 3 16 91 2
parsefn 2 20 117 1
parsefhn 2 8 45 2
nfsreq_print 77 253 1651 3
nfs_printfh 3 18 133 2
xid_map_enter 6 27 215 2
xid_map_find 14 48 286 4
parserep 8 46 269 2
parsestatus 4 17 86 2
parsefattr 6 64 512 3
parseattrstat 3 10 62 3
parsediropres 4 12 75 1
parselinkres 4 13 81 2
parsestatfs 11 48 332 2
parserddires 5 19 112 1
parse_wcc_attr 1 12 92 1
parse_pre_op_attr 3 15 80 2
parse_post_op_attr 3 13 79 2
parse_wcc_data 4 10 59 2
parsecreateopres 8 27 158 2
parsewccres 2 7 45 2
parsev3rddirres 6 20 113 2
parsefsinfo 6 33 230 1
parsepathconf 9 25 170 1
interp_reply 116 292 1588 4
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-vrrp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
vrrp_print 12 51 335 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fn_print 6 24 112 2
fn_printn 6 24 116 3
ts_print 11 36 244 1
relts_print 4 19 129 1
tok2str 4 13 85 3
error 1 10 65 2
warning 1 9 60 2
copy_argv 6 20 141 1
read_infile 7 28 188 1
safeputs 2 7 25 1
safeputchar 3 9 53 1
printb 9 25 148 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/gtp.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-igrp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
igrp_entry_print 5 24 191 3
igrp_print 8 50 334 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-vqp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
vqp_print_opcode 5 20 64 1
vqp_print_rcode 7 26 84 1
print_hex 2 5 26 2
vqp_print_type 14 56 285 3
vqp_print 4 35 215 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/in_cksum.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
in_cksum_shouldbe 1 9 57 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-iapp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
iapp_print 8 42 280 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-pflog.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pflog_if_print 32 115 668 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/ofp_map.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-null.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
null_print 10 28 125 3
loop_if_print 1 5 45 3
null_if_print 21 64 405 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/savestr.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/nfsv2.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-snmp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
asn1_parse 51 212 1232 3
asn1_print 30 99 588 1
asn1_decode 6 19 116 2
varbind_print 26 60 413 4
snmppdu_print 19 64 421 3
trap_print 13 68 401 2
snmp_print 23 74 442 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/smbutil.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
interpret_dos_date 1 12 191 7
make_unix_date 2 14 111 1
make_unix_date2 1 8 70 1
interpret_long_date 2 12 111 1
name_interpret 13 36 251 3
name_ptr 5 27 139 3
name_extract 2 8 64 4
name_len 5 21 124 2
name_type_str 7 14 87 1
write_bits 4 12 81 2
unistr 12 30 199 2
fdata1 52 202 1089 3
fdata 14 54 283 3
smb_errstr 6 26 190 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ofp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_map 6 23 195 2
ofp_print_hello 11 58 344 3
ofp_print_error 3 18 108 2
ofp_print_featuresreply 2 14 80 2
ofp_print_setconfig 2 13 69 2
ofp_print_packetin 10 62 383 2
ofp_print_flowremoved 7 48 321 2
ofp_print_packetout 9 55 303 2
ofp_print_flowmod 13 84 520 2
ofp_if_print 4 25 169 3
ofp_print 14 54 257 2
oxm_print_byte 4 19 114 4
oxm_print_halfword 4 19 114 4
oxm_print_word 4 19 114 4
oxm_print_quad 4 19 114 4
oxm_print_ether 3 14 68 3
oxm_print_data 4 21 123 4
ofp_print_oxm 47 99 446 3
action_print_output 2 12 82 2
action_print_group 2 11 70 2
action_print_setqueue 2 10 65 2
action_print_setmplsttl 2 10 62 2
action_print_setnwttl 2 10 62 2
action_print_push 2 10 65 2
action_print_popmpls 2 10 65 2
action_print_setfield 6 32 188 2
ofp_print_action 18 44 179 3
instruction_print_gototable 2 11 70 2
instruction_print_meta 2 12 80 2
instruction_print_actions 6 38 225 2
instruction_print_meter 2 11 73 2
instruction_print_experimenter 2 11 73 2
ofp_print_instruction 8 27 125 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ether.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ether_print 2 22 121 2
ether_if_print 1 6 46 3
ether_tryprint 19 54 321 3
ether_encap_print 32 79 439 4
ether_macctl 4 21 100 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/privsep.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-bootp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
bootp_print 31 97 751 4
rfc1048_print 43 150 828 2
cmu_print 3 21 146 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-l2tp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_string 2 7 39 2
print_octets 2 7 39 2
print_short 1 4 20 1
print_int 1 4 23 1
l2tp_msgtype_print 2 7 48 2
l2tp_result_code_print 4 12 118 2
l2tp_proto_ver_print 1 4 27 2
l2tp_framing_cap_print 3 10 56 2
l2tp_bearer_cap_print 3 10 56 2
l2tp_tie_breaker_print 2 4 27 2
l2tp_firm_ver_print 1 4 21 2
l2tp_host_name_print 1 4 19 2
l2tp_vendor_name_print 1 4 19 2
l2tp_assnd_tun_id_print 1 4 21 2
l2tp_recv_win_size_print 1 4 21 2
l2tp_challenge_print 1 4 19 2
l2tp_q931_cc_print 2 9 58 2
l2tp_challenge_resp_print 1 4 19 2
l2tp_assnd_sess_id_print 1 4 21 2
l2tp_call_ser_num_print 1 4 21 2
l2tp_minimum_bps_print 1 4 21 2
l2tp_maximum_bps_print 1 4 21 2
l2tp_bearer_type_print 3 10 56 2
l2tp_framing_type_print 3 10 56 2
l2tp_packet_proc_delay_print 1 4 17 2
l2tp_called_number_print 1 4 19 2
l2tp_calling_number_print 1 4 19 2
l2tp_sub_address_print 1 4 19 2
l2tp_tx_conn_speed_print 1 4 21 2
l2tp_phy_channel_id_print 1 4 21 2
l2tp_ini_recv_lcp_print 1 4 19 2
l2tp_last_sent_lcp_print 1 4 19 2
l2tp_last_recv_lcp_print 1 4 19 2
l2tp_proxy_auth_type_print 7 26 99 2
l2tp_proxy_auth_name_print 1 4 19 2
l2tp_proxy_auth_chal_print 1 4 19 2
l2tp_proxy_auth_id_print 1 5 35 2
l2tp_proxy_auth_resp_print 1 4 19 2
l2tp_call_errors_print 1 12 58 2
l2tp_accm_print 1 5 37 2
l2tp_random_vector_print 1 4 19 2
l2tp_private_grp_id_print 1 4 19 2
l2tp_rx_conn_speed_print 1 4 21 2
l2tp_seq_required_print 1 4 14 2
l2tp_avp_print 13 46 288 2
l2tp_print 17 103 626 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/interface.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-rip.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rip_printblk 2 6 37 2
rip_entry_print_v1 5 23 153 2
rip_entry_print_v2 10 49 352 2
rip_print 13 61 377 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-decnet.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
decnet_print 18 101 715 3
print_decnet_ctlmsg 15 128 1017 3
print_t_info 7 14 100 1
print_l1_routes 3 25 159 2
print_l2_routes 3 25 159 2
print_i_info 8 16 114 1
print_elist 1 4 17 2
print_nsp 90 372 2286 2
print_reason 1 4 21 1
dnnum_string 2 12 77 1
dnname_string 2 8 63 1
pdata 3 12 60 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/privsep_pcap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
setfilter 6 41 299 3
priv_pcap_setfilter 6 41 303 3
pcap_live 10 28 203 5
priv_pcap_live 16 84 547 7
swap_hdr 1 9 75 1
priv_pcap_offline 19 89 561 2
sf_write_header 2 15 106 4
priv_pcap_dump_open 6 30 197 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-isoclns.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isoclns_print 14 56 289 5
esis_print 38 152 828 2
osi_cksum 7 27 254 5
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-802_11.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ieee80211_hdr 6 51 362 1
ieee80211_data 11 62 387 2
ieee80211_print_element 2 8 51 2
ieee80211_print_essid 7 18 116 2
ieee80211_print_country 12 29 238 2
ieee80211_print_htcaps 35 111 585 2
ieee80211_print_htop 26 88 566 2
ieee80211_print_rsncipher 9 32 146 1
ieee80211_print_akm 7 26 126 1
ieee80211_print_rsn 26 98 740 2
ieee80211_print_beacon 5 22 163 2
ieee80211_print_assocreq 7 26 172 2
ieee80211_print_elements 44 135 690 1
ieee80211_frame 38 140 752 2
ieee80211_any2ieee 5 15 82 2
ieee80211_print 3 8 43 2
ieee802_11_if_print 5 16 105 3
ieee802_11_radio_if_print 46 178 1097 3
ieee80211_reason 15 48 159 1
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-raw.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
raw_if_print 3 14 83 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-cdp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cdp_print 24 79 470 5
cdp_print_addr 9 37 300 2
cdp_print_prefixes 3 9 73 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/dhcp6opt.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/gmt2local.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
gmt2local 3 18 129 1
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-krb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
c_print 7 26 119 2
krb4_print_hdr 1 14 69 1
krb4_print 10 64 370 1
krb_print 8 25 113 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/pf_print_state.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_addr 19 57 353 3
print_name 3 16 75 2
print_host 9 31 233 6
print_seq 2 9 75 1
print_state 38 125 1134 2
unmask 5 15 98 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/route6d.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-ipsec.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
esp_init 11 49 359 1
esp_decrypt 14 61 344 3
esp_print 6 26 178 3
ah_print 14 66 401 3
ipcomp_print 2 16 114 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-lwres.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_printname 3 15 81 2
lwres_printnamelen 3 14 69 1
lwres_printbinlen 4 18 107 1
lwres_printb64len 5 32 202 1
lwres_printaddr 6 28 183 1
lwres_print 46 216 1359 2
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/parsenfsfh.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
Parse_fh 58 194 1619 5
is_UCX 5 21 87 1
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/print-icmp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
icmp_print 32 206 1327 3
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/nfs.h
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdump/mib.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldapctl/ldapctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 9 26 1
compact_db 6 15 93 1
compact_namespace 5 21 129 2
compact_namespaces 3 11 57 1
index_namespace 17 67 418 2
index_namespaces 3 11 57 1
ssl_load_certfile 1 4 20 3
main 44 130 794 2
show_stats 1 14 105 1
show_dbstats 1 16 161 2
show_nsstats 1 8 49 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pptp/pptp_local.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pptp/pptp_conf.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pptp/pptp.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pptp/pptpd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pptpd_init 7 33 294 1
pptpd_add_listener 13 65 459 4
pptpd_uninit 3 18 119 1
pptpd_assign_call 6 30 174 2
pptpd_release_call 2 7 59 2
pptpd_listener_start 22 107 747 1
pptpd_start 3 14 76 1
pptpd_listener_close_gre 2 10 60 1
pptpd_close_gre 2 9 47 1
pptpd_listener_close_1723 2 11 68 1
pptpd_close_1723 2 9 47 1
pptpd_stop_immediatly 4 20 131 1
pptpd_stop_timeout 1 6 27 3
pptpd_stop 6 30 164 1
pptpd_reload 5 30 173 2
pptpd_io_event 10 39 198 3
pptpd_gre_io_event 6 29 167 3
pptpd_gre_input 21 109 681 4
pptp_ctrl_start_by_pptpd 7 35 237 4
pptpd_ctrl_finished_notify 5 20 130 2
pptpd_log 2 11 87 4
pptp_call_cmp 1 4 27 2
pptp_call_hash 1 4 20 2
pptp_gre_header_string 7 10 114 3
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pptp/pptp_call.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pptp_call_create 2 7 32 1
pptp_call_init 1 10 66 2
pptp_call_start 2 6 23 1
pptp_call_stop 2 8 50 1
pptp_call_destroy 1 5 20 1
pptp_call_disconnect 3 12 66 4
pptp_call_input 12 68 327 4
pptp_call_recv_SLI 4 22 144 3
pptp_call_send_SLI 2 26 188 1
pptp_call_recv_CCR 2 12 82 3
pptp_call_send_CDN 4 33 253 5
pptp_call_send_OCRP 2 37 295 4
pptp_call_recv_OCRQ 2 27 223 3
pptp_call_gre_input 14 68 432 6
pptp_call_gre_output 13 62 482 5
pptp_call_notify_down 2 5 23 1
pptp_call_ppp_input 5 20 106 4
pptp_call_ppp_output 3 16 86 4
pptp_call_closed_by_ppp 2 13 70 1
pptp_call_bind_ppp 5 32 230 1
pptp_call_log 2 12 104 4
pptp_call_OCRQ_string 1 12 73 3
pptp_call_OCRP_string 1 11 63 3
pptp_call_state_string 5 14 40 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pptp/pptp_subr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pptp_framing_string 4 10 65 1
pptp_bearer_string 4 10 65 1
pptp_init_header 1 8 57 3
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pptp/pptp_ctrl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pptp_ctrl_create 2 7 32 1
pptp_ctrl_init 3 29 174 1
pptp_ctrl_start 6 48 356 1
pptp_ctrl_timeout 13 62 311 3
pptp_ctrl_reset_timeout 2 14 58 1
pptp_ctrl_stop 5 23 110 2
pptp_ctrl_fini 4 27 168 1
pptp_ctrl_destroy 3 12 59 1
pptp_ctrl_io_event 17 56 342 3
pptp_ctrl_set_io_event 4 17 102 1
pptp_ctrl_output 2 12 66 3
pptp_ctrl_output_flush 5 30 183 1
pptp_ctrl_SCCRx_string 2 19 152 3
pptp_ctrl_recv_SCCRQ 3 24 179 3
pptp_ctrl_recv_StopCCRP 2 14 88 3
pptp_ctrl_send_StopCCRQ 2 20 133 2
pptp_ctrl_recv_StopCCRQ 2 14 88 3
pptp_ctrl_send_StopCCRP 2 23 153 3
pptp_ctrl_send_SCCRP 4 39 312 3
pptp_ctrl_process_echo_req 4 29 207 3
pptp_ctrl_recv_echo_rep 4 24 147 3
pptp_ctrl_send_echo_req 3 18 130 1
pptp_ctrl_send_CDN 3 25 183 5
pptp_ctrl_input 26 108 545 3
pptp_ctrl_call_input 22 87 444 4
pptp_ctrl_log 2 11 90 4
pptp_ctrl_state_string 5 14 40 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pptp/pptp_subr.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_config.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
npppd_config_check 1 6 28 1
npppd_reload_config 2 18 85 1
npppd_modules_reload 5 12 87 1
npppd_pool_load 16 66 476 1
npppd_auth_realm_reload 12 69 396 1
realm_list_remove 4 12 71 2
npppd_ifaces_load_config 11 43 283 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/ppp.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/radius_chap_const.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 8 36 1
logit 1 7 38 3
vlog 1 4 24 3
log_warn 3 18 111 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 3 9 43 2
fatal 3 12 61 1
fatalx 1 5 18 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/version.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_defs.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/psm-opt.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 22 69 413 2
usage 1 5 18 1
npppd_get_npppd 1 4 9 0
npppd_init 26 121 913 2
npppd_start 4 13 62 1
npppd_stop 7 17 120 1
npppd_stop_really 8 18 102 1
npppd_fini 10 30 238 1
npppd_reset_timer 2 13 71 1
npppd_timer 8 25 133 3
npppd_reset_routing_table 11 52 277 2
npppd_get_user_password 1 9 63 5
npppd_get_user_framed_ip_address 7 25 168 3
npppd_check_calling_number 5 17 114 2
npppd_get_ppp_by_ip 4 18 103 2
npppd_get_ppp_by_user 2 7 42 2
npppd_get_ppp_by_id 4 22 114 2
npppd_get_ipcp_stat 2 10 57 2
npppd_destroy_ipcp_stats 1 12 69 1
npppd_ipcp_stats_reload 3 28 196 1
npppd_check_user_max_session 9 30 178 2
npppd_network_output 11 42 294 5
pipex_setup_common 12 43 369 2
npppd_ppp_pipex_enable 18 103 785 2
npppd_ppp_pipex_disable 12 41 251 2
npppd_ppp_pipex_ip_disable 11 31 176 2
pipex_periodic 15 67 369 1
npppd_prepare_ip 4 17 159 2
npppd_release_ip 2 9 54 2
npppd_set_ip_enabled 25 118 703 3
npppd_assign_ip_addr 17 90 473 3
rtlist_remove 4 13 76 2
npppd_set_radish 25 123 767 2
npppd_get_all_users 6 30 161 2
rd2slist_walk 2 9 45 2
rd2slist 1 4 23 2
npppd_reload0 6 20 134 1
npppd_update_pool_reference 7 20 153 1
npppd_on_sighup 2 9 44 3
npppd_on_sigterm 1 6 27 3
npppd_on_sigint 1 6 27 3
npppd_on_sigchld 3 20 95 3
str_hash 2 12 82 2
npppd_ppp_bind_realm 14 55 339 4
npppd_ppp_is_realm_local 3 9 53 2
npppd_ppp_is_realm_radius 3 9 53 2
npppd_ppp_is_realm_ready 2 6 31 2
npppd_ppp_get_realm_name 2 6 31 2
npppd_ppp_get_iface_name 3 6 35 2
npppd_ppp_iface_is_ready 3 5 34 2
npppd_ppp_bind_iface 16 61 408 2
npppd_ppp_unbind_iface 3 11 58 2
npppd_rd_walktree_delete 3 16 97 1
npppd_get_radius_auth_setting 3 10 58 2
npppd_auth_finalizer_periodic 9 43 220 1
sockaddr_npppd_match 2 7 47 2
npppd_ppp_get_username_for_auth 1 9 56 4
npppd_tunnel_protocol_name 6 16 46 1
npppd_ppp_tunnel_protocol_name 1 4 20 2
npppd_get_tunnconf 2 9 52 2
npppd_on_ppp_start 2 10 67 2
npppd_on_ppp_stop 2 10 65 2
imsg_event_add 2 9 75 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_ctl.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/fsm.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fsm_evtimer_timeout 1 6 32 3
fsm_init 1 14 83 1
fsm_lowerup 4 19 81 1
fsm_lowerdown 11 32 153 1
fsm_open 9 28 121 1
fsm_close 11 33 193 2
fsm_timeout 14 38 256 1
fsm_input 15 57 309 3
fsm_rconfreq 14 48 277 4
fsm_rconfack 13 43 253 4
fsm_rconfnakrej 15 43 261 5
fsm_rtermreq 5 22 118 4
fsm_rtermack 8 27 143 1
fsm_rcoderej 3 18 93 3
fsm_protreject 12 36 209 1
fsm_sconfreq 10 29 225 2
fsm_sdata 1 8 49 5
fsm_log 1 12 89 4
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/pap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pap_init 1 6 31 2
pap_start 2 11 58 1
pap_stop 3 10 47 1
pap_input 17 68 386 3
pap_authenticate 6 21 144 2
pap_log 1 10 68 4
pap_response 5 43 284 3
pap_local_authenticate 3 14 92 3
pap_proxy_authen_prepare 3 24 175 2
pap_radius_authenticate 13 65 485 3
pap_radius_response 11 52 275 4
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/ipcp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ipcp_init 1 18 133 2
ipcp_resetci 2 8 58 1
ipcp_cilen 1 5 28 1
ipcp_addci 1 11 80 3
ipcp_ackci 1 5 32 3
ipcp_nakci 1 8 59 3
ipcp_rejci 1 8 58 3
ipcp_reqci 34 146 763 4
ipcp_open 7 24 148 1
ipcp_close 1 4 21 1
ipcp_start 1 3 8 1
ipcp_stop 1 5 26 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control_init 9 48 343 1
control_listen 3 14 94 1
control_cleanup 2 11 77 1
control_accept 9 41 315 3
control_connbyfd 2 9 42 1
control_close 3 18 128 2
control_dispatch_imsg 25 86 568 3
control_imsg_forward 2 9 70 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/radius_req.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
radius_request 2 13 70 2
radius_prepare_nas_address 10 47 300 2
radius_request_can_failover 3 13 84 1
radius_request_failover 4 15 79 1
radius_prepare_socket 4 26 193 1
radius_prepare 6 29 174 4
radius_cancel_request 4 19 116 1
radius_get_server_secret 1 7 28 1
radius_get_server_address 1 7 34 1
radius_request0 7 40 246 2
radius_request_io_event 11 48 294 3
radius_on_response 8 32 220 4
select_srcaddr 5 18 107 3
radius_req_setting_create 1 4 17 1
radius_req_setting_has_server 1 4 20 1
radius_req_setting_destroy 2 6 27 1
radius_req_setting_ref 1 4 13 1
radius_req_setting_unref 2 6 24 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/chap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
chap_init 2 16 117 2
chap_start 10 66 397 1
chap_stop 3 9 44 1
chap_input 15 75 411 3
chap_failure 3 11 50 3
chap_authenticate 12 53 296 3
chap_response 4 29 202 4
chap_create_challenge 2 7 44 1
chap_proxy_authen_prepare 7 39 264 2
md5chap_authenticate 4 38 227 6
chap_send_error 1 11 79 2
mschapv2_send_error 1 17 165 3
mschapv2_authenticate 8 58 451 6
chap_radius_authenticate 16 82 473 6
chap_radius_response 19 98 573 4
strip_nt_domain 2 7 35 1
chap_log 3 24 125 4
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/accept.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_auth_local.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_local.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_iface.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/privsep.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
privsep_init 5 27 158 1
privsep_fini 2 8 30 1
privsep_priv_pid 1 4 11 1
priv_bind 3 16 119 3
priv_socket 1 11 74 3
priv_open 1 10 77 2
priv_fopen 3 12 69 1
priv_sendto 4 25 201 6
priv_send 1 4 36 4
priv_unlink 1 9 68 1
priv_get_user_info 5 49 364 3
priv_get_if_addr 4 25 170 2
priv_delete_if_addr 1 9 68 1
priv_set_if_addr 1 10 80 2
priv_get_if_flags 4 25 173 2
priv_set_if_flags 1 10 77 2
privsep_recvfd 4 20 108 1
privsep_common_resp 4 20 107 1
privsep_priv_main 1 9 41 1
privsep_priv_dispatch_imsg 70 350 2456 1
imsg_read_and_get 8 17 100 2
startswith 2 4 35 2
privsep_npppd_check_open 8 30 199 1
privsep_npppd_check_socket 10 13 89 1
privsep_npppd_check_bind 1 4 14 1
privsep_npppd_check_sendto 6 9 60 1
privsep_npppd_check_unlink 1 4 14 1
privsep_npppd_check_get_user_info 2 8 46 1
privsep_npppd_check_get_if_addr 3 6 39 1
privsep_npppd_check_set_if_addr 3 6 39 1
privsep_npppd_check_del_if_addr 3 6 39 1
privsep_npppd_check_get_if_flags 3 6 39 1
privsep_npppd_check_set_if_flags 3 6 39 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/lcp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lcp_init 2 30 205 2
lcp_lowerup 3 10 56 1
lcp_send_protrej 1 6 50 3
lcp_auth_string 7 12 54 1
lcp_open 10 43 286 1
lcp_down 3 12 64 1
lcp_finished 1 4 15 1
lcp_resetci 3 9 81 1
lcp_cilen 1 5 22 1
lcp_add_auth 13 66 384 2
lcp_addci 8 40 284 3
lcp_reqci 24 101 527 4
lcp_ackci 25 79 357 3
lcp_nakci 32 124 571 3
lcp_rejci 24 91 406 3
lcp_rcoderej 9 40 191 3
lcp_reset_timeout 3 14 71 1
lcp_timeout 4 20 129 1
lcp_rechoreq 2 14 90 4
lcp_ext 12 45 267 5
lcp_load_authconfig 4 22 151 1
lcp_dialin_proxy 15 69 440 4
lcp_proxy_recv_ci 16 55 248 3
lcp_proxy_sent_ci 25 80 345 3
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/mppe.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mppe_init 8 32 218 2
mppe_fini 1 5 28 1
mppe_reduce_key 3 10 49 1
mppe_key_change 2 17 114 2
mppe_start 11 47 467 1
mppe_create_our_bits 11 31 195 2
mppe_input 25 103 668 3
mppe_recv_ccp_reset 1 5 29 1
mppe_pkt_output 9 41 309 4
mppe_log 1 10 68 4
mppe_bits_to_string 8 14 127 1
rc4_create_ctx 1 4 15 1
rc4_key 1 5 27 3
rc4 1 4 30 4
GetNewKeyFromSHA 1 14 98 4
mppe_rc4_init 3 14 72 3
mppe_rc4_setkey 1 4 28 2
mppe_rc4_setoldkey 1 5 36 3
mppe_rc4_encrypt 1 4 36 5
mppe_rc4_destroy 1 6 32 2
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/ppp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ppp_create 2 13 81 0
ppp_init 12 47 369 2
ppp_set_tunnel_label 8 28 235 3
ppp_start 1 14 100 1
ppp_dialin_proxy_prepare 3 16 92 2
ppp_down_others 5 13 90 1
ppp_stop 2 10 57 2
ppp_set_disconnect_cause 2 10 56 5
ppp_set_radius_terminate_cause 2 5 25 2
ppp_stop0 17 56 405 1
ppp_destroy 1 11 69 1
ppp_peer_auth_string 6 11 51 1
ppp_lcp_up 12 30 168 1
ppp_lcp_finished 1 7 35 1
ppp_phy_downed 2 10 54 1
proto_name 11 16 82 1
ppp_auth_ok 9 43 252 1
ppp_idle_timeout 2 9 49 3
ppp_reset_idle_timeout 2 10 55 1
ppp_ipcp_opened 8 33 244 1
ppp_ccp_opened 6 13 70 1
ppp_ccp_stopped 4 8 32 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_auth.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
npppd_auth_create 10 43 241 3
npppd_auth_dispose 1 5 16 1
npppd_auth_destroy 7 25 133 1
npppd_auth_reload 9 44 256 1
npppd_auth_get_user_password 8 41 211 4
npppd_auth_get_framed_ip 5 20 127 4
npppd_auth_get_calling_number 7 31 162 4
npppd_auth_get_type 1 4 13 1
npppd_auth_is_usable 3 4 27 1
npppd_auth_is_ready 7 14 71 1
npppd_auth_is_disposing 2 4 21 1
npppd_auth_is_eap_capable 2 4 21 1
npppd_auth_get_name 1 4 13 1
npppd_auth_get_suffix 1 4 13 1
npppd_auth_username_for_auth 7 22 133 3
npppd_auth_user_session_unlimited 2 4 21 1
npppd_check_auth_user_max_session 3 8 32 2
npppd_auth_get_user 6 20 135 2
npppd_auth_radius_reload 17 76 726 2
npppd_auth_radius_get_radius_auth_setting 1 4 13 1
npppd_auth_radius_get_radius_acct_setting 1 4 13 1
npppd_auth_base_log 1 13 81 4
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_pool.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_auth.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_radius.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/accept.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
accept_init 1 5 26 1
accept_add 2 14 123 3
accept_del 2 12 62 1
accept_pause 1 7 36 1
accept_unpause 2 8 37 1
accept_arm 1 6 32 1
accept_unarm 1 6 30 1
accept_cb 1 6 44 3
accept_timeout 1 5 23 3
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_subr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
skip_space 3 7 43 1
load_resolv_conf 11 39 228 2
in_route0 27 110 786 7
in_host_route_add 1 5 40 4
in_host_route_delete 1 4 32 2
in_route_add 1 5 48 6
in_route_delete 1 5 40 4
ip_is_idle_packet 23 49 242 2
in_addr_range_add_route 2 13 96 1
in_addr_range_delete_route 2 12 92 1
adjust_tcp_mss 13 55 327 3
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_radius.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ppp_proccess_radius_framed_ip 3 11 64 2
npppd_ppp_radius_acct_start 3 7 52 2
npppd_ppp_radius_acct_stop 3 7 52 2
npppd_ppp_radius_acct_reqcb 9 43 242 4
radius_acct_request 18 79 506 3
pptp_put_tunnel_attributes 6 34 221 2
l2tp_put_tunnel_attributes 6 34 221 2
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/privsep.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_iface.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
npppd_iface_init 1 13 103 3
npppd_iface_setup_ip 21 100 611 1
npppd_iface_reinit 6 24 158 2
npppd_iface_start 12 53 314 1
npppd_iface_stop 5 22 129 1
npppd_iface_fini 1 5 21 1
npppd_iface_pipex_enable 1 5 26 1
npppd_iface_pipex_disable 1 5 26 1
npppd_iface_io_event_handler 5 26 135 3
npppd_iface_network_input_delegate 6 21 129 2
npppd_iface_network_input_ipv4 12 50 330 4
npppd_iface_network_input 5 29 148 3
npppd_iface_write 3 27 204 5
npppd_iface_log 1 12 81 4
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_pool.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
npppd_pool_init 1 9 68 3
npppd_pool_start 1 4 11 1
npppd_pool_uninit 1 9 47 1
npppd_pool_reload 18 81 619 1
npppd_pool_regist_radish 7 47 350 4
npppd_pool_get_dynamic 8 44 248 2
npppd_is_ifcace_ip4addr 4 10 66 2
npppd_pool_assign_ip 5 45 322 2
npppd_pool_release_ip 8 46 321 2
npppd_pool_get_assignability 12 41 262 4
is_valid_host_address 10 13 100 1
npppd_pool_log 2 12 82 4
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/ccp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ccp_init 1 18 133 2
ccp_reqci 16 74 382 4
ccp_open 1 4 15 1
ccp_close 1 3 8 1
ccp_start 1 3 8 1
ccp_stop 2 5 24 1
ccp_resetci 3 6 38 1
ccp_cilen 1 4 15 1
ccp_addci 2 12 78 3
ccp_ackci 1 4 29 3
ccp_nakci 1 4 29 3
ccp_rejci 1 4 29 3
ccp_nackackci 12 37 190 5
ccp_ext 4 13 74 5
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/chap_ms.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_subr.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/fsm.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd_ctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
npppd_ctl_create 2 9 56 1
npppd_ctl_destroy 2 7 29 1
npppd_ctl_who 1 4 19 1
npppd_ctl_monitor 1 5 20 1
npppd_ctl_who_and_monitor 1 4 19 1
npppd_ctl_who0 2 8 52 2
npppd_ctl_add_started_ppp_id 5 18 116 2
npppd_ctl_add_stopped_ppp 3 13 90 2
npppd_ctl_who_walk_rd 3 13 75 2
npppd_ctl_disconnect 3 13 81 3
npppd_ctl_imsg_compose 13 62 463 2
npppd_who_init 6 40 325 2
npppd_ppp_get_pipex_stat 12 40 248 2
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/radius_req.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/npppd.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/chap_ms.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
get7bits 1 8 63 2
mschap_des_addparity 1 12 117 2
mschap_des_encrypt 1 9 58 3
mschap_challenge_response 1 10 83 3
mschap_ntpassword_hash 1 8 52 3
mschap_challenge_hash 2 18 125 5
mschap_nt_response 1 11 73 7
mschap_auth_response 2 47 458 8
mschap_masterkey 1 18 151 3
mschap_asymetric_startkey 4 41 482 5
mschap_msk 1 17 146 4
mschap_radiuskey 3 23 219 4
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/npppd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/l2tp/l2tp.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/l2tp/l2tp_conf.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/l2tp/l2tp_ctrl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
l2tp_ctrl_create 1 4 17 1
l2tp_ctrl_init 12 73 461 5
l2tp_ctrl_reload 3 8 63 1
l2tp_ctrl_destroy 2 6 27 1
l2tp_ctrl_send_disconnect_notify 7 22 122 1
l2tp_ctrl_stop 12 49 273 2
l2tp_ctrl_purge_ipsec_sa 21 51 395 1
l2tp_ctrl_timeout 22 95 449 3
l2tp_ctrl_send 5 20 184 3
l2tp_ctrl_resend_una_packets 5 28 163 1
l2tp_ctrl_destroy_all_calls 2 7 42 1
l2tp_ctrl_disconnect_all_calls 5 23 122 2
l2tp_ctrl_reset_timeout 4 21 111 1
l2tp_ctrl_input 84 337 1876 7
l2tp_ctrl_txwin_size 1 7 33 1
l2tp_ctrl_txwin_is_full 2 4 24 1
l2tp_ctrl_send_packet 5 37 292 3
l2tp_ctrl_recv_SCCRQ 19 111 713 5
l2tp_ctrl_send_StopCCN 3 33 232 2
l2tp_ctrl_recv_StopCCN 14 85 482 3
l2tp_ctrl_send_SCCRP 5 70 543 1
l2tp_ctrl_send_HELLO 3 24 150 1
l2tp_ctrl_send_ZLB 2 11 68 1
l2tp_ctrl_prepare_snd_buffer 3 18 99 2
l2tp_ctrl_state_string 6 11 49 1
l2tp_ctrl_log 2 11 90 4
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/l2tp/l2tp_call.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
l2tp_call_create 2 7 32 1
l2tp_call_init 2 9 58 2
l2tp_call_destroy 1 5 27 2
l2tp_call_admin_disconnect 1 5 23 1
l2tp_call_drop 1 4 23 1
l2tp_call_disconnect 4 17 100 6
l2tp_call_recv_packet 22 104 524 5
l2tp_call_recv_ICRQ 17 90 449 3
l2tp_call_send_ICRP 3 31 201 1
l2tp_call_send_data_packet 5 31 250 2
l2tp_call_recv_ICCN 25 139 756 4
l2tp_recv_CDN 14 93 518 3
l2tp_call_send_CDN 11 67 480 6
l2tp_call_send_ZLB 2 12 66 1
l2tp_call_log 2 12 104 4
l2tp_call_state_string 5 10 43 1
l2tp_call_ppp_input 4 16 85 4
l2tp_call_ppp_output 3 19 102 4
l2tp_call_closed_by_ppp 4 41 272 1
l2tp_call_notify_down 2 5 23 1
l2tp_call_bind_ppp 8 52 345 2
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/l2tp/l2tp_local.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/l2tp/l2tpd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
l2tpd_init 6 37 226 1
l2tpd_add_listener 8 46 334 4
l2tpd_uninit 3 20 124 1
l2tpd_assign_call 4 26 127 2
l2tpd_release_call 1 4 31 2
l2tpd_listener_start 30 116 784 1
l2tpd_start 4 20 104 1
l2tpd_listener_stop 2 13 89 1
l2tpd_stop_immediatly 2 11 61 1
l2tpd_ctrl_finished_notify 3 8 36 1
l2tpd_stop_timeout 2 14 83 3
l2tpd_stop 5 30 160 1
l2tpd_reload 5 30 173 2
l2tpd_log_access_deny 1 7 52 3
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/l2tp/l2tp_subr.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
avp_get_val16 1 4 29 1
avp_get_val32 1 5 53 1
avp_set_val16 1 5 35 2
avp_set_val32 1 7 59 2
short_cmp 1 4 27 2
short_hash 1 4 22 2
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/l2tp/l2tp_subr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
avp_enum 6 20 163 4
avp_attr_type_string 3 9 52 1
l2tp_stopccn_rcode_string 3 9 52 1
l2tp_cdn_rcode_string 3 9 52 1
l2tp_ecode_string 4 11 61 1
avp_find 5 17 95 6
avp_find_message_type_avp 1 4 33 3
bytebuf_add_avp 3 14 123 3
avp_mes_type_string 3 9 52 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/bytebuf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
bytebuffer_create 4 18 103 1
bytebuffer_wrap 2 10 53 2
bytebuffer_unwrap 1 11 52 1
bytebuffer_realloc 4 16 94 2
bytebuffer_compact 3 13 83 1
bytebuffer_put 4 15 94 3
bytebuffer_get 4 13 85 3
bytebuffer_position 1 5 20 1
bytebuffer_limit 1 5 20 1
bytebuffer_capacity 1 5 20 1
bytebuffer_pointer 1 5 28 1
bytebuffer_remaining 1 6 35 1
bytebuffer_has_remaining 1 5 23 1
bytebuffer_flip 1 7 36 1
bytebuffer_rewind 1 6 28 1
bytebuffer_clear 1 7 36 1
bytebuffer_mark 1 5 23 1
bytebuffer_reset 2 7 40 1
bytebuffer_destroy 2 8 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/debugutil.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/bytebuf.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/debugmacro.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/ipsec_util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ipsec_util_purge_transport_sa 14 31 219 4
ipsec_util_prepare 3 7 27 1
delete_prepare 25 75 515 6
send_sadb_delete 8 62 476 2
address_compar 14 41 349 3
sadb_del_args_init 4 25 198 5
sockaddr_is_valid 5 8 52 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/radish.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/addr_range.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
in_addr_range_create 2 9 52 0
in_addr_range_destroy 1 4 14 1
in_addr_range_list_remove_all 2 11 50 1
in_addr_range_list_uniq 10 43 303 1
in_addr_range_list_includes 3 10 74 2
in_addr_range_list_add0 7 33 222 3
in_addr_range_list_add 29 92 582 2
bitmask2masklen 34 40 217 1
usage 1 10 16 0
main 7 35 192 2
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/slist_test.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dump 6 23 147 1
test_01a 8 37 286 0
test_01 4 22 197 0
test_02 6 28 305 0
test_03 4 16 122 0
test_itr_subr_01 6 33 330 1
test_04 3 17 116 0
test_05 4 38 385 0
test_06 4 19 146 0
test_07 4 18 128 0
test_08 1 23 207 0
test_09 1 59 523 0
test_10 6 30 228 0
test_11 1 12 94 0
test_12_compar 1 4 25 2
test_12 1 27 287 0
test_13 1 7 27 0
main 1 18 86 2
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/hash.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/debugutil.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
set_prio_idx_init 4 13 94 0
debug_set_debugfp 1 5 14 1
debug_use_syslog 2 8 22 1
debug_set_no_debuglog 2 7 20 1
debug_get_debugfp 1 4 8 0
vlog_printf 26 87 541 3
log_printf 1 9 49 3
debug_set_syslog_level_adjust 1 4 11 1
debug_get_syslog_level_adjust 1 4 9 1
show_hd 13 56 416 3
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/net_utils.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/addr_range.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/ipsec_util_local.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/ipsec_util.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/time_utils.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/radish.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rd_inithead 5 38 310 6
rd_mask 13 31 238 3
rd_insert 23 105 749 4
rd_glue 7 54 419 4
rd_match 1 4 31 3
rd_match_next 11 42 254 4
rd_lookup 9 29 213 3
rd_delete 15 58 379 4
rd_unlink 11 36 215 2
rd_walktree 8 24 153 3
rd_refines 11 23 168 2
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/slist.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
slist_init 1 5 25 1
slist_set_size 2 6 34 2
slist_fini 1 5 20 1
slist_length 2 7 43 1
slist_grow0 6 29 235 2
slist_grow 1 4 16 1
slist_add 3 11 64 2
slist_add_all 3 10 61 2
slist_get 3 8 52 2
slist_set 3 9 66 3
slist_remove_first 5 13 84 1
slist_remove_last 3 9 54 1
slist_remove_all 1 6 27 1
slist_swap0 1 8 75 3
slist_swap 5 14 85 3
slist_remove 22 61 433 2
slist_shuffle 2 7 50 1
slist_itr_first 2 6 33 1
slist_itr_has_next 2 6 29 1
slist_itr_next 4 15 94 1
slist_itr_remove 1 5 30 1
slist_qsort 2 5 49 2
slist_qsort0 7 21 158 4
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/hash.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
hash_first 1 7 28 0
hash_next 4 19 99 0
hash_lookup 5 14 97 0
hash_insert 4 19 119 0
hash_delete 9 28 185 0
hash_delete_all 5 18 100 0
hash_free 2 8 30 0
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/slist.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/recvfromto.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/time_utils.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
get_nanotime 2 10 56 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/recvfromto.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
recvfromto_nat_t 31 130 915 10
recvfromto 1 13 75 8
sendto_nat_t 3 36 256 7
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/common/net_utils.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
get_ifname_by_sockaddr 9 39 245 2
addrport_parse 7 39 230 3
addrport_tostring 4 23 151 4
netmask2prefixlen 34 39 215 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pppoe/pppoe_local.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pppoe/pppoed.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pppoed_init 8 49 330 1
pppoed_listener_init 1 7 43 2
pppoed_reload_listeners 3 8 37 1
pppoed_listener_start 16 108 813 2
pppoed_start 5 22 113 1
pppoed_listener_stop 2 18 124 1
pppoed_stop 5 26 152 1
pppoed_uninit 3 13 70 1
pppoed_pppoe_session_close_notify 3 13 97 2
pppoed_reload 22 109 733 2
pppoed_io_event 6 41 265 3
pppoed_input 26 119 676 5
pppoed_output 3 26 215 4
pppoed_recv_PADR 8 44 241 3
pppoed_recv_PADI 20 114 887 3
pppoed_log 2 11 87 4
pppoed_tlv_value_string 2 13 82 1
session_id_cmp 1 7 36 2
session_id_hash 1 6 26 2
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pppoe/pppoe.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pppoe/pppoe_conf.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppd/pppoe/pppoe_session.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pppoe_session_init 1 14 107 5
pppoe_session_disconnect 3 12 65 1
pppoe_session_stop 2 5 21 1
pppoe_session_fini 1 4 16 1
pppoe_session_dispose_event 1 6 31 3
pppoe_session_input 6 21 111 3
pppoe_session_output 4 40 314 4
pppoe_session_send_PADT 3 36 245 1
pppoe_session_send_PADS 7 55 396 3
pppoe_session_recv_PADR 9 33 210 2
pppoe_session_recv_PADT 1 7 35 2
pppoe_session_log 2 13 102 4
pppoe_session_ppp_output 3 16 85 4
pppoe_session_close_by_ppp 2 9 42 1
pppoe_session_bind_ppp 5 42 299 1
Source file: /home/sergeyb/sources/src/usr.sbin/tcpdrop/tcpdrop.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 11 34 1
main 22 91 756 2
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/mdstore.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/config.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pri_find_cpu 2 9 38 1
pri_link_core 6 24 171 3
pri_add_core 1 7 49 2
pri_init_cores 4 14 89 1
pri_add_cpu 4 24 153 2
pri_alloc_cpu 4 16 86 1
pri_free_cpu 1 4 19 1
pri_add_mblock 1 10 81 2
pri_alloc_memory 7 35 231 2
pri_init 17 77 649 1
hvmd_fixup_guest 4 12 85 3
hvmd_init_frag 2 20 135 2
hvmd_alloc_frag 4 16 82 1
hvmd_free_frag 1 7 39 1
hvmd_init_mblock 6 26 209 2
hvmd_init_console 3 14 101 2
hvmd_init_cpu 8 30 239 2
hvmd_init_device 9 31 248 2
hvmd_init_endpoint 5 31 263 2
hvmd_init_guest 15 88 715 2
hvmd_init 16 68 626 1
hvmd_finalize_cpu 4 27 210 2
hvmd_finalize_cpus 3 14 86 1
hvmd_finalize_maus 5 25 161 1
hvmd_finalize_device 1 13 106 3
hvmd_finalize_devices 5 20 122 1
hvmd_finalize_mblock 1 14 114 2
hvmd_finalize_memory 3 14 86 1
hvmd_finalize_endpoint 6 26 224 2
hvmd_finalize_endpoints 3 14 86 1
hvmd_finalize_console 2 19 133 2
hvmd_finalize_consoles 3 14 86 1
hvmd_finalize_guest 2 43 422 2
hvmd_finalize_guests 3 14 86 1
hvmd_finalize 7 55 396 1
hvmd_add_endpoint 3 20 128 1
hvmd_add_console 3 36 256 1
hvmd_add_domain_services 1 23 180 1
hvmd_add_vio 1 24 189 1
hvmd_add_guest 3 23 147 1
guest_add_channel_endpoints 1 11 63 1
guest_add_endpoint 2 15 113 2
guest_add_vcc 1 18 133 1
guest_find_vcc 5 20 132 1
guest_add_vcc_port 3 21 166 5
guest_add_vds 1 18 133 1
guest_find_vds 5 20 132 1
guest_add_vds_port 3 19 142 5
guest_add_vsw 1 18 133 1
guest_find_vsw 5 20 132 1
guest_add_vsw_port 4 23 169 4
guest_add_console_device 1 20 153 1
guest_add_vdc 1 17 123 2
guest_add_vdc_port 2 16 118 5
guest_add_vnet 2 22 170 4
guest_add_vnet_port 2 20 163 8
guest_add_channel_devices 1 17 120 1
guest_add_domain_services 1 11 63 1
guest_add_domain_services_port 2 17 114 2
guest_add_devalias 2 14 98 3
guest_set_domaining_enabled 1 8 48 1
guest_set_mac_address 1 13 87 1
guest_find_vc 5 21 140 1
guest_add_vc_port 2 21 153 5
guest_create 1 27 194 1
guest_lookup 4 10 57 1
guest_delete_virtual_device_port 4 17 105 2
guest_delete_endpoint 11 32 233 2
guest_delete 1 23 174 1
guest_delete_cpu 2 12 68 2
guest_add_cpu 4 19 123 1
guest_delete_memory 2 10 67 1
guest_add_memory 5 19 135 3
guest_add_vdisk 2 20 137 3
guest_add_vnetwork 2 25 174 4
guest_find_cpu 2 8 42 2
guest_finalize 11 62 471 1
primary_init 1 8 31 1
build_config 20 76 534 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/mdesc.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/util.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/pri.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pri_start 1 11 75 2
pri_rx_data 2 13 97 4
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/ldomctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 9 47 366 2
usage 1 7 34 1
add_guest 7 24 177 1
find_guest 2 9 52 1
fetch_pri 2 8 39 1
dump 6 38 260 2
init_system 2 6 29 2
list 4 17 99 2
xselect 3 11 66 2
delete 4 13 92 2
download 3 11 66 2
guest_start 4 18 145 2
guest_stop 4 18 145 2
guest_panic 4 18 145 2
guest_status 20 104 748 2
hv_open 6 32 277 1
hv_close 1 5 16 1
hv_read 2 9 58 3
hv_write 2 9 58 3
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
xmalloc 2 8 34 1
xzalloc 1 7 30 1
xreallocarray 2 8 45 3
xstrdup 2 8 36 1
xasprintf 2 11 61 3
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/mdstore.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mdstore_start 1 11 78 2
mdstore_rx_data 6 33 204 4
mdstore_begin 2 19 138 4
mdstore_transfer 4 31 213 5
mdstore_end 2 19 138 4
mdstore_select 3 22 168 2
mdstore_delete 3 22 168 2
mdstore_download 10 52 395 2
frag_init 3 13 87 1
add_frag_mblock 2 15 85 1
add_frag 1 7 39 1
delete_frag 2 11 55 1
alloc_frag 2 12 56 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/mdesc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
md_find_name 2 8 49 2
md_add_name 2 13 82 2
md_free_name 2 9 48 2
md_find_data 3 9 60 3
md_add_data 2 15 104 3
md_free_data 2 9 48 2
md_find_node 2 9 53 2
md_add_node 1 9 64 2
md_link_node 1 5 41 3
md_find_prop 2 9 58 3
md_add_prop 1 8 61 3
md_add_prop_val 1 9 55 4
md_add_prop_str 1 9 69 4
md_add_prop_data 1 9 67 5
md_add_prop_arc 1 9 59 4
md_delete_prop 3 8 70 3
md_get_prop_val 3 10 66 4
md_set_prop_val 3 10 64 4
md_get_prop_str 3 10 69 4
md_get_prop_data 3 11 84 5
md_delete_node 3 15 108 2
md_find_delete_node 2 7 39 2
md_alloc 1 9 49 1
md_find_index 2 9 44 2
md_fixup_arcs 2 12 74 1
md_walk_graph 3 10 72 2
md_collect_garbage 2 11 76 1
md_ingest 15 75 517 2
md_exhume 6 98 692 2
md_copy 1 9 43 1
md_read 6 30 160 1
md_write 3 13 84 2
Source file: /home/sergeyb/sources/src/usr.sbin/ldomctl/ldomctl.h
Source file: /home/sergeyb/sources/src/usr.sbin/procmap/procmap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
no_impl 1 5 24 2
main 38 116 628 2
print_sum 3 10 71 2
process_map 26 136 1119 4
load_symbols 5 18 189 1
load_vm_map_entries 3 21 194 3
unload_vm_map_entries 2 8 42 1
dump_vm_map_entry 71 194 1674 4
findname 16 67 481 6
search_cache 12 39 278 5
load_name_cache 7 19 138 1
cache_enter 3 20 149 1
usage 1 8 26 1
strtopid 2 9 47 1
Source file: /home/sergeyb/sources/src/usr.sbin/tokenadm/tokenadm.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 62 174 906 2
process_record 7 28 138 3
process_modes 8 30 160 3
force_unlock 3 11 59 1
print_record 15 38 220 2
Source file: /home/sergeyb/sources/src/usr.sbin/crunchgen/elf_hide.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
elf_hide 10 65 525 2
load_shstr_tab 2 10 68 2
fprint_shstr 2 5 32 2
get_shstr 1 4 16 1
load_symtab 7 26 183 2
dump_symtab 4 19 154 3
load_strtab 5 19 128 2
dump_strtab 2 16 70 0
fprint_str 2 5 32 2
get_str 1 4 16 1
hide_sym 8 28 193 5
reorder_syms 10 45 316 5
renum_reloc_syms 12 39 305 3
Source file: /home/sergeyb/sources/src/usr.sbin/crunchgen/crunchgen.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 29 87 517 2
usage 1 9 26 1
parse_conf_file 4 13 57 1
parse_one_file 12 52 309 1
parse_line 12 21 139 4
add_srcdirs 10 35 215 2
add_libdirs 12 48 289 2
add_progs 2 6 35 2
add_prog 7 20 145 1
add_link 3 14 82 2
add_libs 2 6 38 2
add_special 20 53 405 2
find_prog 3 8 46 1
gen_outputs 2 10 47 1
fillin_program 24 62 469 1
fillin_program_objs 15 54 357 2
remove_error_progs 4 19 87 1
gen_specials_cache 7 28 196 1
gen_output_makefile 3 17 95 1
gen_output_cfile 6 31 222 1
genident 6 14 98 1
dir_search 3 11 69 1
top_makefile_rules 4 56 415 1
prog_makefile_rules 5 29 218 2
output_strlst 2 6 43 2
out_of_memory 1 5 22 1
add_string 7 17 121 2
is_dir 2 7 36 1
is_nonempty_file 3 7 42 1
Source file: /home/sergeyb/sources/src/usr.sbin/crunchgen/crunchide.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
crunchide_main 10 34 135 2
add_to_keep_list 9 22 150 1
in_keep_list 4 9 58 1
add_file_to_keep_list 5 17 102 1
hide_syms 10 32 199 1
Source file: /home/sergeyb/sources/src/usr.sbin/crunchgen/mangle.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
init_mangle_state 10 28 161 0
fini_mangle_state 4 17 93 0
dump_mangle_state 2 7 35 0
mangle_str 4 17 90 1
Source file: /home/sergeyb/sources/src/usr.sbin/crunchgen/mangle.h
Source file: /home/sergeyb/sources/src/usr.sbin/crunchgen/crunched_main.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
crunched_main2 6 14 106 4
main 1 5 34 3
crunched_main 2 6 44 3
crunched_usage 3 20 104 1
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/dbg.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
doddbg 2 9 41 2
dodbg 2 9 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/acctproc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
bn2string 4 21 119 1
op_thumb_rsa 5 16 122 1
op_thumbprint 11 45 289 2
op_sign_rsa 6 23 175 4
op_sign 17 77 527 2
acctproc 21 72 390 3
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/parse.h
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/json.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
build 16 67 447 5
jsmnparse_free 8 27 131 1
jsmntree_alloc 5 21 130 3
json_free 2 5 22 1
json_getarrayobj 2 4 20 1
json_getarray 8 19 149 2
json_getobj 8 19 149 2
json_getstr 10 24 190 2
json_free_challenge 1 6 33 1
json_parse_response 5 17 90 1
json_parse_challenge 8 28 173 2
json_parse_capaths 7 16 132 2
json_free_capaths 1 9 57 1
json_parse 5 29 153 2
json_fmt_newreg 2 15 52 1
json_fmt_newauthz 2 16 53 1
json_fmt_challenge 2 15 59 2
json_fmt_revokecert 2 15 52 1
json_fmt_newcert 2 15 52 1
json_fmt_header_rsa 2 16 60 2
json_fmt_protected_rsa 2 17 68 3
json_fmt_signed 2 18 75 4
json_fmt_thumb_rsa 2 12 56 2
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/base64.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
base64len 1 4 20 1
base64buf_url 6 22 116 2
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/http.h
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/chngproc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
chngproc 22 87 585 2
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/http.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dosysread 2 8 53 3
dosyswrite 2 8 54 3
dotlsread 4 11 74 3
dotlswrite 4 11 75 3
http_init 5 23 100 0
http_read 5 15 86 3
http_write 3 12 72 3
http_disconnect 7 19 123 1
http_free 2 10 50 1
http_alloc 16 88 673 5
http_open 7 35 183 3
http_close 2 10 50 1
http_body_read 8 34 219 3
http_head_get 3 10 61 3
http_head_status 4 19 122 3
http_head_parse 13 57 358 3
http_head_read 12 54 373 3
http_get_free 2 8 36 1
http_get 8 52 357 7
main 6 29 223 1
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/dnsproc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
host_dns 10 44 276 2
dnsproc 16 55 331 1
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/fileproc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
serialise 7 25 190 6
fileproc 33 105 627 5
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/extern.h
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/jsmn.h
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/jsmn.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
jsmn_alloc_token 3 12 70 3
jsmn_fill_token 1 7 41 4
jsmn_parse_primitive 17 34 214 5
jsmn_parse_string 27 49 354 5
jsmn_parse 77 126 880 5
jsmn_init 1 5 27 1
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sigpipe 1 5 16 1
readop 5 15 93 2
readstr 1 5 25 2
readbuf 9 37 249 3
writeop 5 19 136 3
writebuf 7 23 193 4
writestr 1 4 31 3
checkexit 6 21 154 2
checkexit_ext 7 23 163 3
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/keyproc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
add_ext 3 17 100 3
keyproc 32 133 861 5
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/revokeproc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
X509expires 7 39 393 1
revokeproc 54 183 1228 7
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/rsa.h
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/main.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 84 301 2323 2
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/certproc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
x509buf 6 28 164 2
certproc 32 110 740 2
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/rsa.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rsa_key_create 8 29 177 2
rsa_key_load 3 13 78 2
Source file: /home/sergeyb/sources/src/usr.sbin/acme-client/netproc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
buf_dump 7 21 164 1
url2host 7 31 192 3
urlresolve 10 30 228 3
nreq 5 34 234 2
sreq 14 72 553 3
donewreg 9 21 166 2
dochngreq 9 26 213 4
dochngresp 8 19 149 3
dochngcheck 8 27 213 2
dorevoke 9 21 151 3
docert 9 21 158 3
dodirs 8 21 161 3
dofullchain 6 15 97 2
netproc 44 136 982 11
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/patterns.h
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 10 48 2
log_procinit 2 5 19 1
log_setverbose 1 4 11 1
log_getverbose 1 4 11 1
logit 1 7 38 3
vlog 3 17 99 3
log_warn 3 21 120 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 43 2
vfatalc 3 17 106 3
fatal 1 8 40 2
fatalx 1 8 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/server_http.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
server_http 1 10 77 1
server_http_init 1 3 9 1
server_httpdesc_init 3 14 99 1
server_httpdesc_free 2 19 108 1
server_http_authenticate 17 62 454 2
server_read_http 74 204 1095 2
server_read_httpcontent 9 42 241 2
server_read_httpchunks 23 93 521 2
server_read_httprange 18 77 448 2
server_reset_http 1 17 107 1
server_http_time 3 8 58 3
server_http_host 8 25 169 3
server_http_parsehost 8 37 252 4
server_abort_http 31 129 663 3
server_close_http 1 15 79 1
server_expand_http 44 137 1018 4
server_response 35 106 759 2
server_root_strip 4 10 67 2
server_getlocation 8 29 177 2
server_response_http 31 65 571 5
server_writeresponse_http 6 13 104 1
server_writeheader_http 10 21 159 3
server_headers 3 15 125 4
server_httpmethod_byname 2 11 82 1
server_httpmethod_byid 3 12 67 1
server_httpmethod_cmp 1 6 44 2
server_httperror_byid 2 10 77 1
server_httperror_cmp 1 6 41 2
server_log_http 46 115 838 3
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/config.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
config_init 8 31 211 1
config_purge 9 20 145 2
config_setreset 4 13 83 2
config_getreset 1 8 53 2
config_getcfg 3 17 132 2
config_setserver 16 70 503 2
config_settls 6 38 295 6
config_setserver_tls 5 17 144 2
config_getserver_auth 4 11 85 2
config_getserver_config 22 130 974 3
config_getserver 13 56 441 2
config_gettls 7 34 235 8
config_getserver_tls 9 44 276 2
config_setmedia 4 15 110 2
config_getmedia 3 17 116 2
config_setauth 4 15 114 2
config_getauth 3 17 124 2
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/http.h
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control_init 9 49 367 2
control_listen 3 14 96 1
control_cleanup 2 7 35 1
control_accept 9 36 282 3
control_connbyfd 2 9 42 1
control_close 3 17 123 2
control_dispatch_imsg 19 75 456 3
control_imsg_forward 2 9 73 2
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/httpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/logger.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
logger 1 4 32 2
logger_shutdown 1 5 17 1
logger_init 3 9 64 3
logger_close 2 11 62 1
logger_open_file 3 26 198 1
logger_open_fd 2 16 95 1
logger_open_priv 5 30 253 1
logger_open 8 26 186 3
logger_start 2 7 32 1
logger_log 8 26 183 1
logger_dispatch_parent 7 23 99 3
logger_dispatch_server 3 12 53 3
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/patterns.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
match_error 2 5 36 2
check_capture 4 7 52 2
capture_to_close 3 8 54 1
classend 9 26 119 2
match_class 12 39 164 2
matchbracketclass 10 21 150 3
singlematch 5 19 109 4
matchbalance 7 23 128 3
max_expand 4 13 88 4
min_expand 4 12 77 4
start_capture 3 15 111 4
end_capture 3 11 93 3
match_capture 4 13 92 3
match 40 123 617 3
lmemfind 5 24 134 4
push_onecapture 6 19 173 5
push_captures 6 12 101 5
nospecials 3 11 59 2
str_find_aux 12 53 381 6
str_find 2 15 112 5
str_match 7 35 282 4
str_match_free 2 9 59 1
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/server_file.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
server_file_access 20 78 492 4
server_file 7 30 211 2
server_file_method 3 12 48 1
server_file_request 10 58 383 4
server_partial_file_request 15 104 737 5
server_file_index 30 132 849 3
server_file_error 11 46 264 3
server_file_modified_since 5 15 111 2
parse_ranges 7 26 197 3
parse_range_spec 11 36 250 3
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/server_fcgi.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
server_fcgi 52 267 1821 2
fcgi_add_stdin 3 21 144 2
fcgi_add_param 8 44 376 4
server_fcgi_read 20 102 592 2
server_fcgi_header 25 54 473 2
server_fcgi_writeheader 25 34 313 3
server_fcgi_writechunk 9 19 135 1
server_fcgi_getheaders 8 30 225 1
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/server.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
server 1 5 36 2
server_shutdown 1 5 18 1
server_privinit 7 19 162 1
server_tls_cmp 9 23 187 3
server_tls_load_keypair 4 16 131 1
server_tls_load_ocsp 5 22 142 1
server_tls_init 17 100 704 1
server_generate_ticket_key 1 7 49 1
server_init 4 13 113 3
server_launch 1 16 99 1
server_purge 7 26 175 1
serverconfig_free 1 10 66 1
serverconfig_reset 1 11 57 1
server_byaddr 3 11 74 2
serverconfig_byid 3 14 78 1
server_byid 2 9 44 1
server_foreach 3 15 113 2
server_match 6 21 137 2
server_socket_af 3 18 103 2
server_socket_getport 3 12 63 1
server_socket 27 84 538 5
server_socket_listen 4 15 108 3
server_socket_connect 4 15 99 3
server_tls_readcb 13 50 328 3
server_tls_writecb 9 36 228 3
server_input 5 37 258 1
server_write 6 19 114 2
server_dump 3 9 61 3
server_read 5 23 144 2
server_error 7 34 172 3
server_accept 15 81 558 3
server_tls_handshake 7 28 207 3
server_inflight_dec 3 11 52 2
server_sendlog 5 31 206 4
server_log 12 41 314 2
server_close 11 32 237 2
server_dispatch_parent 10 40 197 3
server_dispatch_logger 1 8 40 3
server_bufferevent_add 2 10 54 2
server_bufferevent_printf 2 14 81 3
server_bufferevent_print 2 6 56 2
server_bufferevent_write_buffer 2 6 46 2
server_bufferevent_write_chunk 2 9 52 3
server_bufferevent_write 2 6 52 3
server_client_cmp 1 4 28 2
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/proc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
proc_ispeer 3 9 55 3
proc_getid 3 13 75 3
proc_exec 11 52 398 5
proc_connect 9 24 191 1
proc_init 11 42 301 6
proc_accept 4 24 185 4
proc_setup 13 42 451 3
proc_kill 11 30 180 1
proc_open 10 34 319 3
proc_close 6 21 171 1
proc_shutdown 4 11 76 1
proc_sig_handler 7 17 63 3
proc_run 17 64 574 6
proc_dispatch 16 66 439 3
proc_dispatch_null 1 4 23 3
imsg_event_add 3 13 95 1
imsg_compose_event 2 10 75 7
imsg_composev_event 2 10 77 7
proc_range 2 9 57 4
proc_compose_imsg 3 12 106 8
proc_compose 1 5 48 5
proc_composev_imsg 3 11 106 8
proc_composev 1 5 50 5
proc_forward_imsg 1 6 58 4
proc_ibuf 1 6 48 3
proc_iev 1 6 46 3
proc_flush_imsg 6 17 126 3
Source file: /home/sergeyb/sources/src/usr.sbin/httpd/httpd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parent_sig_handler 6 22 96 3
usage 1 7 25 1
main 32 123 846 2
parent_configure 11 44 306 1
parent_reload 7 24 141 3
parent_reopen 1 4 24 1
parent_configure_done 5 16 84 1
parent_shutdown 2 12 85 1
parent_dispatch_server 2 13 68 3
parent_dispatch_logger 9 36 197 3
parent_tls_ticket_rekey_start 1 9 62 1
parent_tls_ticket_rekey 1 15 129 3
event_again 2 16 159 7
expand_string 6 29 204 4
canonicalize_host 12 36 260 3
url_decode 5 29 162 1
canonicalize_path 18 39 252 3
path_info 5 19 108 1
url_encode 12 19 160 1
escape_html 6 27 175 1
socket_rlimit 4 13 94 1
evbuffer_getline 9 24 160 1
get_string 4 9 66 2
get_data 2 8 47 2
sockaddr_cmp 20 53 578 3
prefixlen2mask 3 8 43 1
prefixlen2mask6 4 15 109 2
accept_reserve 3 15 97 5
kv_add 6 24 175 3
kv_set 3 20 127 3
kv_setkey 2 14 82 3
kv_delete 2 12 78 2
kv_extend 5 14 109 3
kv_purge 2 6 36 1
kv_free 1 8 48 1
kv_inherit 5 19 131 2
kv_log 7 17 122 2
kv_find 4 15 94 2
kv_cmp 1 4 28 2
media_add 4 19 138 2
media_delete 1 6 35 2
media_purge 2 6 36 1
media_find 6 17 120 2
media_find_config 3 10 71 3
media_cmp 1 4 28 2
auth_add 3 13 100 2
auth_byid 2 9 45 2
auth_free 1 4 23 2
print_host 2 9 63 3
print_time 1 12 97 4
printb_flags 8 31 187 2
getmonotime 2 7 36 1
Source file: /home/sergeyb/sources/src/usr.sbin/rarpd/arptab.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
arptab_init 2 6 30 1
arptab_set 14 62 348 2
rtmsg 16 60 370 1
rtget 9 35 200 2
Source file: /home/sergeyb/sources/src/usr.sbin/rarpd/rarpd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 16 47 221 2
init_one 5 20 128 1
init_all 7 18 120 1
usage 1 5 21 1
rarp_open 9 32 224 1
rarp_check 10 27 214 2
rarp_loop 18 56 416 1
rarp_bootable 6 22 139 1
choose_ipaddr 3 8 43 3
rarp_process 10 40 273 2
lookup_addrs 13 51 361 2
rarp_reply 4 27 310 5
ipaddrtonetmask 4 10 44 1
warning 2 14 85 2
error 2 15 90 2
debug 2 11 64 2
Source file: /home/sergeyb/sources/src/usr.sbin/ypbind/ypbind.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ypbindproc_null_2x 1 6 41 3
ypbindproc_domain_2x 14 62 456 3
ypbindproc_setdom_2x 9 42 245 3
ypbindprog_2 9 56 318 2
usage 1 5 18 1
main 44 207 1468 2
checkwork 4 17 83 1
ping 6 49 303 1
pings 9 67 451 1
broadcast 10 40 258 3
direct 15 51 359 3
handle_replies 8 41 275 1
handle_ping 8 41 266 1
rpc_received 23 86 713 3
xid2ypdb 3 8 41 1
unique_xid 2 8 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/pwd_mkdb/pwd_mkdb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 56 180 1424 2
scan 5 21 138 3
cp 7 18 158 3
mv 2 5 30 2
fatal 1 9 42 2
fatalc 1 9 47 3
fatalx 1 9 42 2
cleanup 4 18 121 1
usage 1 6 21 1
changedir 3 11 75 2
write_old_entry 4 16 154 2
db_store 28 97 793 8
Source file: /home/sergeyb/sources/src/usr.sbin/relayctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/relayctl/relayctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 25 1
main 63 163 1015 2
monitor_lookup 3 8 54 1
monitor_host_status 3 18 79 1
monitor_id 2 8 55 1
monitor 3 16 126 1
show_summary_msg 32 101 696 2
show_session_msg 5 31 244 1
show_command_output 3 15 62 1
print_rdr_status 4 11 54 1
print_table_status 3 12 93 2
print_host_status 5 15 62 2
print_relay_status 2 7 26 1
print_statistics 3 26 198 1
Source file: /home/sergeyb/sources/src/usr.sbin/relayctl/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse 6 24 150 2
match_token 27 82 500 3
show_valid_args 9 28 128 1
Source file: /home/sergeyb/sources/src/usr.sbin/edquota/edquota.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 9 29 1
main 23 86 517 2
getentry 9 37 202 3
getprivs 17 78 514 2
putprivs 5 19 163 3
editit 11 41 303 1
writeprivs 3 22 217 4
readprivs 23 91 648 2
writetimes 3 22 160 3
readtimes 12 58 406 2
cvtstoa 8 20 188 1
cvtatos 5 17 128 3
freeprivs 2 8 42 1
alldigits 3 10 57 1
hasquota 10 33 245 3
Source file: /home/sergeyb/sources/src/usr.sbin/tftpd/tftpd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 26 1
main 28 88 483 2
rewrite_connect 7 27 212 1
rewrite_events 1 6 54 1
rewrite_map 4 12 110 2
rewrite_req 5 14 80 3
rewrite_res 7 28 150 3
tftpd_listen 12 56 369 3
tftpd_events 1 9 52 1
client_alloc 2 15 89 1
client_free 2 8 43 1
tftpd_recv 18 95 671 3
parse_options 8 26 178 4
tftp 20 93 548 3
tftp_open 5 19 100 2
validate_access 28 79 530 2
fget_octet 1 4 19 1
fput_octet 1 4 24 2
fget_netascii 7 24 102 1
fput_netascii 4 12 70 2
sendfile 1 6 38 1
file_read 5 30 196 1
tftp_rrq_ack 12 57 315 3
tftp_flush 5 18 79 1
recvfile 1 5 32 1
tftp_wrq_ack_packet 1 10 82 1
tftp_wrq_ack 2 10 50 1
tftp_wrq 15 70 390 3
tftp_wrq_end 10 45 221 3
nak 6 23 181 2
oack 8 44 307 1
retry 3 11 76 1
oack_done 9 36 219 3
getip 2 9 63 1
rdaemon 7 25 138 1
syslog_vstrerror 2 10 70 4
syslog_err 1 8 45 3
syslog_errx 1 8 43 3
syslog_warn 1 7 37 2
syslog_warnx 1 7 35 2
syslog_info 1 7 35 2
syslog_debug 2 9 42 2
Source file: /home/sergeyb/sources/src/usr.sbin/zdump/zdump.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
abbrok 9 24 138 2
usage 1 6 20 1
main 36 128 878 2
setabsolutes 3 13 60 1
yeartot 7 25 110 1
hunt 12 39 245 3
delta 3 18 126 2
show 9 28 174 3
abbr 4 9 56 1
tformat 1 4 9 1
dumptime 12 45 311 1
Source file: /home/sergeyb/sources/src/usr.sbin/wsfontload/wsfontload.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 9 39 1
main 43 149 866 2
getencoding 4 10 86 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/compress_backend.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
compress_backend_lookup 2 6 26 1
compress_chunk 1 4 36 4
uncompress_chunk 1 4 36 4
compress_file 1 4 26 2
uncompress_file 1 4 26 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/bounce.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
bounce_init 2 11 51 1
bounce_add 9 69 570 1
bounce_fd 4 26 174 1
bounce_timeout 1 5 23 3
bounce_drain 8 40 194 0
bounce_send 2 13 89 3
bounce_duration 8 23 174 1
bounce_next_message 6 34 206 1
bounce_next 25 166 895 1
bounce_delivery 8 47 301 3
bounce_status 7 23 142 3
bounce_free 1 10 50 1
bounce_io 16 59 339 3
bounce_message_cmp 4 12 93 2
action_str 5 16 65 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mta.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mta_imsg 45 254 1710 2
mta_postfork 1 3 6 1
mta_postprivdrop 1 20 120 1
mta_source_error 2 9 64 3
mta_route_error 3 9 50 2
mta_route_ok 2 12 70 2
mta_route_down 2 4 23 2
mta_route_collect 2 19 123 2
mta_route_next_task 7 29 208 2
mta_handle_envelope 12 71 565 1
mta_delivery_flush_event 6 44 324 3
mta_delivery_log 6 20 155 5
mta_delivery_notify 2 10 58 1
mta_query_mx 4 21 139 1
mta_query_limits 5 12 93 1
mta_query_secret 2 15 98 1
mta_query_preference 2 15 100 1
mta_query_source 2 18 112 1
mta_on_mx 7 36 172 3
mta_on_secret 3 16 88 2
mta_on_preference 1 9 46 2
mta_on_source 13 55 328 2
mta_connect 21 116 792 1
mta_on_timeout 5 31 158 2
mta_route_disable 4 18 125 3
mta_route_enable 4 15 76 1
mta_drain 16 50 359 1
mta_flush 11 46 331 3
mta_find_route 40 141 834 4
mta_log 3 17 93 5
mta_relay 20 71 664 1
mta_relay_ref 1 4 14 1
mta_relay_unref 4 28 196 1
mta_relay_to_text 11 58 552 1
mta_relay_show 7 60 492 4
mta_relay_cmp 39 57 551 2
mta_host 2 16 123 1
mta_host_ref 1 4 14 1
mta_host_unref 2 10 54 1
mta_host_to_text 2 10 72 1
mta_host_cmp 3 8 75 2
mta_domain 2 17 118 2
mta_domain_ref 1 4 14 1
mta_domain_unref 3 15 92 1
mta_domain_cmp 3 8 61 2
mta_source 4 20 140 1
mta_source_ref 1 4 14 1
mta_source_unref 2 9 47 1
mta_source_to_text 2 8 52 1
mta_source_cmp 6 12 112 2
mta_connector 2 16 121 2
mta_connector_free 2 13 67 1
mta_connector_to_text 1 9 52 1
mta_route 3 28 182 2
mta_route_ref 1 4 14 1
mta_route_unref 11 40 265 1
mta_route_to_text 1 8 48 1
mta_route_cmp 5 12 83 2
mta_block 3 15 104 2
mta_unblock 2 13 82 2
mta_is_blocked 2 9 52 2
mta_block_cmp 8 14 109 2
mta_hoststat_update 4 22 187 2
mta_hoststat_cache 4 13 88 2
mta_hoststat_uncache 3 11 70 2
mta_hoststat_reschedule 4 15 97 1
mta_hoststat_remove_entry 2 7 43 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/smtpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/crypto.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
crypto_setup 2 8 49 2
crypto_encrypt_file 12 45 355 2
crypto_decrypt_file 17 62 457 2
crypto_encrypt_buffer 5 36 246 4
crypto_decrypt_buffer 5 33 226 4
main 7 48 265 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/smtpd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parent_imsg 17 89 576 2
usage 1 7 26 1
parent_shutdown 4 16 87 1
parent_send_config 1 7 31 3
parent_send_config_pony 1 6 47 1
parent_send_config_lka 1 6 46 0
parent_send_config_ca 1 6 47 1
parent_sig_handler 25 94 466 3
main 77 270 1650 2
start_child 10 41 301 3
setup_peers 6 18 167 2
setup_done 5 14 119 1
setup_proc 10 39 255 1
setup_peer 11 43 216 3
imsg_wait 9 22 146 3
smtpd 2 44 337 1
load_pki_tree 7 25 165 1
load_pki_keys 3 13 79 1
fork_proc_backend 9 41 297 3
child_add 2 11 77 3
purge_task 12 40 210 1
forkmda 23 93 753 3
offline_scan 11 44 262 3
offline_enqueue 24 92 655 1
offline_add 3 13 102 1
offline_done 3 12 60 1
parent_forward_open 13 44 245 4
imsg_dispatch 7 37 218 2
log_imsg 4 18 113 3
proc_title 8 21 61 1
proc_name 9 23 67 1
imsg_to_str 1 138 687 1
parent_auth_user 2 12 82 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/stat_backend.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
stat_backend_lookup 3 8 42 1
stat_increment 2 11 71 2
stat_decrement 2 11 71 2
stat_set 1 7 54 2
stat_counter 1 7 30 1
stat_timestamp 1 7 30 1
stat_timeval 1 7 33 1
stat_timespec 1 7 33 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 10 48 2
log_procinit 2 5 19 1
log_setverbose 1 4 11 1
log_getverbose 1 4 11 1
logit 1 7 38 3
vlog 3 17 99 3
log_warn 3 21 120 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 43 2
vfatalc 3 17 106 3
fatal 1 8 40 2
fatalx 1 8 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/aliases.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
aliases_get 6 42 248 2
aliases_virtual_get 24 91 647 2
aliases_expand_include 3 18 117 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/config.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
purge_config 11 52 345 1
config_process 3 11 70 1
config_peer 9 23 111 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/dict.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dict_check 1 6 42 2
dict_alloc 2 12 94 2
dict_set 3 17 122 3
dict_xset 3 9 76 3
dict_get 2 8 60 2
dict_xget 2 8 66 2
dict_pop 2 13 91 2
dict_xpop 2 13 97 2
dict_poproot 3 13 78 2
dict_root 4 12 71 3
dict_iter 5 17 106 4
dict_iterfrom 7 28 194 5
dict_merge 3 12 89 2
dictentry_cmp 1 4 26 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mail.file.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 5 20 107 2
file_engine 13 44 288 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/envelope.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
envelope_set_errormsg 3 13 106 3
envelope_set_esc_class 1 4 19 2
envelope_set_esc_code 1 4 19 2
envelope_buffer_to_dict 12 33 234 3
envelope_load_buffer 7 34 190 3
envelope_dump_buffer 5 56 578 3
ascii_load_uint8 2 8 42 2
ascii_load_uint16 2 8 42 2
ascii_load_uint32 2 8 42 2
ascii_load_time 2 8 42 2
ascii_load_type 4 12 70 2
ascii_load_string 2 6 34 3
ascii_load_sockaddr 5 25 181 2
ascii_load_mda_method 6 16 104 2
ascii_load_mailaddr 2 6 29 2
ascii_load_flags 6 17 105 2
ascii_load_mta_relay_url 2 6 29 2
ascii_load_mta_relay_flags 4 13 74 2
ascii_load_bounce_type 4 12 70 2
ascii_load_dsn_ret 3 10 53 2
ascii_load_field 41 104 1123 3
envelope_ascii_load 3 14 85 2
ascii_dump_uint8 1 4 26 3
ascii_dump_uint16 1 4 26 3
ascii_dump_uint32 1 4 26 3
ascii_dump_time 1 4 30 3
ascii_dump_string 1 4 28 3
ascii_dump_type 4 18 71 3
ascii_dump_mda_method 6 24 89 3
ascii_dump_mailaddr 1 5 35 3
ascii_dump_flags 8 20 139 3
ascii_dump_mta_relay_url 1 4 32 3
ascii_dump_mta_relay_flags 7 18 121 3
ascii_dump_bounce_type 4 18 71 3
ascii_dump_dsn_ret 4 10 71 3
ascii_dump_field 47 109 1116 4
envelope_ascii_dump 6 21 134 4
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/pony.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pony_imsg 46 75 287 2
pony_shutdown 1 5 16 1
pony 8 39 241 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/scheduler_null.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
scheduler_null_init 1 4 14 1
scheduler_null_insert 1 4 14 1
scheduler_null_commit 1 4 12 1
scheduler_null_rollback 1 4 12 1
scheduler_null_update 1 4 14 1
scheduler_null_delete 1 4 12 1
scheduler_null_hold 1 4 15 2
scheduler_null_release 1 4 18 3
scheduler_null_batch 1 5 33 5
scheduler_null_schedule 1 4 12 1
scheduler_null_remove 1 4 12 1
scheduler_null_suspend 1 4 12 1
scheduler_null_resume 1 4 12 1
scheduler_null_messages 1 4 19 3
scheduler_null_envelopes 1 4 20 3
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/ca.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ca_shutdown 1 5 16 1
ca 8 31 210 1
ca_init 5 24 151 1
ca_verify_cb 8 18 54 2
ca_X509_verify 9 31 202 5
ca_imsg 15 70 430 2
rsae_send_imsg 14 60 393 6
rsae_pub_enc 1 6 55 5
rsae_pub_dec 1 6 55 5
rsae_priv_enc 2 10 86 5
rsae_priv_dec 2 10 86 5
rsae_mod_exp 1 5 49 4
rsae_bn_mod_exp 1 6 63 6
rsae_init 2 7 43 1
rsae_finish 2 7 43 1
rsae_keygen 1 5 47 4
ca_engine_init 13 48 270 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control_imsg 27 77 481 2
control_create_socket 8 32 248 1
control 8 40 264 1
control_shutdown 1 5 16 1
control_listen 2 8 55 1
control_accept 12 54 354 3
control_close 4 20 133 1
control_digest_update 14 37 237 3
control_dispatch_ext 79 281 1932 2
control_broadcast_verbose 1 21 166 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/delivery.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
delivery_backend_lookup 6 18 56 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/enqueue.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
qp_encoded_write 11 25 162 3
enqueue 102 239 1461 3
get_responses 14 42 250 2
send_line 4 16 91 4
build_from 10 34 269 2
parse_message 39 69 525 4
parse_addr 51 57 519 3
parse_addr_terminal 7 15 96 1
qualify_addr 4 10 71 1
rcpt_add 6 24 145 1
open_connection 12 32 192 1
enqueue_offline 10 31 220 4
savedeadletter 15 43 293 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/delivery_filename.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
delivery_filename_open 17 58 355 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/iobuf.h
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/smtp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
smtp_imsg 17 40 197 2
smtp_postfork 1 4 10 1
smtp_postprivdrop 1 3 6 1
smtp_configure 1 4 10 1
smtp_setup_listeners 5 20 137 1
smtp_setup_events 5 30 235 1
smtp_pause 2 8 43 1
smtp_resume 2 8 45 1
smtp_enqueue 4 18 129 1
smtp_accept 14 49 281 3
smtp_can_accept 2 6 32 1
smtp_collect 3 13 51 1
smtp_sni_callback 3 13 73 3
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/lka.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lka_imsg 46 253 1712 2
lka_sig_handler 5 14 72 3
lka_shutdown 1 5 16 1
lka 6 31 206 1
lka_authenticate 6 28 164 3
lka_credentials 6 37 226 4
lka_userinfo 4 22 124 3
lka_addrname 4 25 137 3
lka_mailaddrmap 6 34 187 3
lka_X509_verify 7 39 228 3
lka_certificate_verify 1 4 20 2
lka_certificate_verify_resume 8 27 198 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/makemap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
purge_config 1 4 20 1
fork_proc_backend 1 4 25 3
makemap 48 149 910 3
parse_map 8 34 206 3
parse_entry 4 11 68 5
parse_mapentry 14 45 297 5
parse_setentry 5 26 191 5
make_plain 1 6 41 2
make_aliases 4 22 128 2
conf_aliases 5 18 109 1
dump_db 7 26 214 2
usage 2 9 33 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/queue_proc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
queue_proc_call 9 32 156 1
queue_proc_read 2 10 46 2
queue_proc_end 2 8 28 1
queue_proc_close 1 9 52 1
queue_proc_message_create 2 11 71 1
queue_proc_message_commit 2 15 93 2
queue_proc_message_delete 1 10 57 1
queue_proc_message_fd_r 1 8 45 1
queue_proc_message_corrupt 1 10 57 1
queue_proc_envelope_create 4 19 140 4
queue_proc_envelope_delete 1 10 57 1
queue_proc_envelope_update 3 15 111 3
queue_proc_envelope_load 2 15 82 3
queue_proc_envelope_walk 4 21 126 3
queue_proc_init 2 26 149 3
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mproc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mproc_fork 5 25 192 3
mproc_init 1 4 22 2
mproc_clear 1 7 53 1
mproc_enable 2 10 49 1
mproc_disable 2 10 49 1
mproc_event_add 5 17 97 1
mproc_dispatch 15 56 312 3
imsg_read_nofd 3 14 98 1
m_forward 3 14 125 2
m_compose 3 13 89 7
m_composev 4 18 123 7
m_create 1 8 51 5
m_add 6 26 170 3
m_close 2 12 86 1
m_flush 2 13 95 1
m_error 1 9 51 1
m_msg 1 6 49 2
m_end 2 5 24 1
m_is_eom 1 4 20 1
m_get 3 8 57 3
m_add_int 1 4 25 2
m_add_u32 1 4 25 2
m_add_size 1 4 25 2
m_add_time 1 4 25 2
m_add_string 1 4 28 2
m_add_data 1 5 33 3
m_add_id 1 4 25 2
m_add_evpid 1 4 25 2
m_add_msgid 1 4 25 2
m_add_sockaddr 1 5 35 2
m_add_mailaddr 1 4 28 2
m_add_envelope 1 7 53 2
m_add_params 3 16 94 2
m_get_int 1 4 26 2
m_get_u32 1 4 26 2
m_get_size 1 4 26 2
m_get_time 1 4 26 2
m_get_string 3 11 78 2
m_get_data 2 8 57 3
m_get_evpid 1 4 26 2
m_get_msgid 1 4 26 2
m_get_id 1 4 26 2
m_get_sockaddr 1 6 34 2
m_get_mailaddr 1 4 27 2
m_get_envelope 2 10 64 2
m_get_params 3 16 97 2
m_clear_params 2 6 32 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/queue_null.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
queue_null_message_create 1 5 20 1
queue_null_message_commit 1 4 17 2
queue_null_message_delete 1 4 12 1
queue_null_message_fd_r 1 4 13 1
queue_null_message_corrupt 1 4 12 1
queue_null_envelope_create 1 6 32 4
queue_null_envelope_delete 1 4 12 1
queue_null_envelope_update 1 4 20 3
queue_null_envelope_load 1 4 19 3
queue_null_envelope_walk 1 4 21 3
queue_null_init 1 14 72 3
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/smtpf_session.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
smtpf_session_init 2 6 21 1
smtpf_session 1 8 44 4
smtpf_session_imsg 1 3 14 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/rfc2822.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
hdr_dflt_cb 1 1 14 2
body_dflt_cb 1 1 13 2
header_reset 2 8 47 1
header_callback 5 23 163 1
missing_headers_callback 2 9 60 1
body_callback 1 4 29 2
parser_feed_header 7 25 207 2
parser_feed_body 1 5 24 2
rfc2822_parser_init 1 10 69 1
rfc2822_parser_flush 2 7 28 1
rfc2822_parser_reset 1 5 23 1
rfc2822_parser_release 3 14 90 1
rfc2822_parser_feed 8 17 119 2
rfc2822_header_callback 4 22 181 4
rfc2822_missing_header_callback 4 22 180 4
rfc2822_header_default_callback 1 8 52 3
rfc2822_body_callback 1 8 51 3
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/smtpd-defines.h
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/queue_backend.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
profile_enter 2 7 37 1
profile_leave 2 10 67 1
queue_message_path 1 4 29 3
queue_init 11 36 283 2
queue_close 2 6 22 1
queue_message_create 1 11 46 1
queue_message_delete 4 24 129 1
queue_message_commit 15 63 358 1
queue_message_corrupt 1 10 44 1
queue_message_uncorrupt 1 4 13 1
queue_message_fd_r 19 64 398 1
queue_message_fd_rw 1 6 39 1
queue_envelope_dump_buffer 6 29 175 3
queue_envelope_load_buffer 5 26 155 3
queue_envelope_cache_add 2 11 87 1
queue_envelope_cache_update 2 13 82 1
queue_envelope_cache_del 2 9 52 1
queue_envelope_create 5 27 161 1
queue_envelope_delete 2 13 57 1
queue_envelope_load 6 36 220 2
queue_envelope_update 4 18 105 1
queue_message_walk 5 26 167 4
queue_envelope_walk 6 27 163 1
queue_generate_msgid 2 7 25 1
queue_generate_evpid 2 11 42 1
envelope_validate 7 16 120 1
queue_api_on_close 1 4 17 1
queue_api_on_message_create 1 4 18 1
queue_api_on_message_commit 1 4 21 1
queue_api_on_message_delete 1 4 17 1
queue_api_on_message_fd_r 1 4 17 1
queue_api_on_message_corrupt 1 4 17 1
queue_api_on_message_uncorrupt 1 4 17 1
queue_api_on_envelope_create 1 4 26 1
queue_api_on_envelope_delete 1 4 17 1
queue_api_on_envelope_update 1 4 23 1
queue_api_on_envelope_load 1 4 22 1
queue_api_on_envelope_walk 1 4 23 1
queue_api_on_message_walk 1 5 31 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/table_api.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
table_msg_get 4 13 58 2
table_msg_end 2 8 28 1
table_msg_add 4 13 78 2
table_msg_close 1 5 18 1
table_read_params 2 16 92 1
table_clear_params 2 5 19 1
table_msg_dispatch 19 95 554 1
table_api_on_update 1 4 17 1
table_api_on_check 1 4 25 1
table_api_on_lookup 1 4 30 1
table_api_on_fetch 1 4 26 1
table_api_get_name 1 4 9 1
table_api_dispatch 17 53 272 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cmd_install 15 57 429 2
cmd_check 16 44 293 3
cmd_run 15 50 346 2
cmd_show_params 7 27 163 2
text_to_sockaddr 16 58 392 3
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/delivery_mbox.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
delivery_mbox_open 2 14 102 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/runq.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
runq_reset 3 16 88 1
runq_timeout 4 20 121 3
runq_init 2 12 86 2
runq_schedule 5 24 165 4
runq_delay 1 5 48 4
runq_cancel 5 17 126 3
runq_pending 4 13 86 4
runq_next 5 15 95 4
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/waitq.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
waitq_cmp 3 8 50 2
waitq_wait 2 18 150 3
waitq_run 2 14 104 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/tree.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
tree_check 1 6 40 2
tree_set 3 17 124 3
tree_xset 3 11 88 3
tree_get 2 8 58 2
tree_xget 2 8 66 2
tree_pop 2 13 89 2
tree_xpop 2 13 97 2
tree_poproot 4 15 93 3
tree_root 4 12 70 3
tree_iter 5 17 105 4
tree_iterfrom 7 27 191 5
tree_merge 3 12 89 2
treeentry_cmp 3 8 50 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/ruleset.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ruleset_match 35 61 441 1
ruleset_check_source 4 20 92 3
ruleset_check_mailaddr 4 18 84 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/expand.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
expand_lookup 1 4 27 2
expand_to_text 3 12 82 3
expand_insert 8 33 225 2
expand_clear 4 12 88 1
expand_free 1 6 28 1
expand_cmp 25 49 364 2
expand_line_split 17 37 230 2
expand_line 8 25 155 3
expandnode_info 14 50 300 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/ssl.h
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mda.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mda_imsg 43 302 1859 2
mda_postfork 1 3 5 0
mda_postprivdrop 1 6 23 0
mda_io 12 76 439 3
mda_check_loop 7 22 155 2
mda_getlastline 6 32 212 3
mda_fail 3 18 113 4
mda_drain 10 49 262 1
mda_done 4 20 132 1
mda_log 8 32 187 3
mda_queue_ok 1 6 33 1
mda_queue_tempfail 1 9 59 3
mda_queue_permfail 1 9 59 3
mda_queue_loop 1 6 33 1
mda_user 6 36 330 1
mda_user_free 2 12 76 1
mda_user_to_text 1 6 45 1
mda_envelope 4 25 254 1
mda_envelope_free 1 10 56 1
mda_session 1 24 192 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/rfc2822.h
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mail.mda.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 4 18 100 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mail.lmtp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 8 37 186 2
lmtp_connect_inet 13 63 395 1
lmtp_connect_unix 5 17 136 1
lmtp_connect 3 8 58 1
lmtp_engine 21 57 334 2
stream_file 4 15 102 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/scheduler_proc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
scheduler_proc_call 9 32 156 1
scheduler_proc_read 2 10 46 2
scheduler_proc_end 2 8 28 1
scheduler_proc_init 2 16 99 1
scheduler_proc_insert 1 10 64 1
scheduler_proc_commit 1 11 62 1
scheduler_proc_rollback 1 11 62 1
scheduler_proc_update 2 12 81 1
scheduler_proc_delete 1 11 62 1
scheduler_proc_hold 4 19 139 2
scheduler_proc_release 5 21 166 3
scheduler_proc_batch 5 25 215 5
scheduler_proc_messages 4 20 155 3
scheduler_proc_envelopes 4 20 156 3
scheduler_proc_schedule 1 11 62 1
scheduler_proc_remove 1 11 62 1
scheduler_proc_suspend 1 11 62 1
scheduler_proc_resume 1 11 62 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mda_variables.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mda_expand_token 51 135 965 5
mda_expand_format 18 64 434 4
mod_lowercase 3 9 52 2
mod_uppercase 3 9 52 2
mod_strip 4 13 94 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/scheduler_ramqueue.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
scheduler_backoff 1 4 24 3
scheduler_next 2 7 41 3
scheduler_ram_init 1 9 53 1
scheduler_ram_insert 4 37 301 1
scheduler_ram_commit 3 17 96 1
scheduler_ram_rollback 3 17 106 1
scheduler_ram_update 5 26 201 1
scheduler_ram_delete 2 15 102 1
scheduler_ram_hold 5 39 276 2
scheduler_ram_release 8 35 213 3
scheduler_ram_batch 23 95 690 5
scheduler_ram_messages 3 12 79 3
scheduler_ram_envelopes 10 41 312 3
scheduler_ram_schedule 8 34 211 1
scheduler_ram_remove 8 30 195 1
scheduler_ram_suspend 8 30 195 1
scheduler_ram_resume 8 30 195 1
scheduler_ram_query 3 11 52 1
sorted_insert 2 10 71 2
rq_queue_init 1 14 100 1
rq_queue_merge 5 25 193 2
rq_queue_schedule 7 26 163 1
rq_envelope_list 11 27 174 2
rq_envelope_schedule 8 36 234 2
rq_envelope_remove 7 33 240 2
rq_envelope_suspend 6 27 194 2
rq_envelope_resume 4 15 91 2
rq_envelope_delete 2 12 87 2
rq_envelope_to_text 11 47 409 1
rq_queue_dump 3 18 126 2
rq_envelope_cmp 7 11 106 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
xmalloc 2 9 50 2
xcalloc 2 9 57 3
xstrdup 2 9 52 2
xmemdup 2 10 64 3
io_xprintf 2 11 64 3
io_xprint 2 8 45 2
strip 4 12 75 1
bsnprintf 3 11 69 4
mkdirs_component 5 13 75 2
mkdirs 13 33 195 2
ckdir 12 48 301 5
rmtree 11 40 208 2
mvpurge 8 22 146 2
mktmpfile 3 16 82 1
safe_fclose 6 18 83 1
hostname_match 9 20 123 2
mailaddr_match 8 20 145 2
valid_localpart 7 18 80 1
valid_domainpart 9 27 169 1
secure_file 17 30 237 5
addargs 5 26 171 3
lowercase 4 12 69 3
uppercase 4 12 69 3
xlowercase 3 7 44 3
generate_uid 3 13 65 1
session_socket_error 2 9 50 1
parse_smtp_response 14 25 178 4
parse_mailname_file 5 22 134 2
getmailname 6 25 157 2
base64_encode 1 5 32 4
base64_decode 1 4 27 3
log_trace 2 9 46 3
log_trace_verbose 2 5 22 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/forward.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
forwards_get 10 47 243 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/smtpctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 2 10 34 1
stat_increment 1 3 12 2
stat_decrement 1 3 12 2
srv_connect 3 19 148 1
srv_connected 2 4 15 1
offline_file 6 19 134 1
srv_flush 2 5 23 1
srv_send 3 6 51 3
srv_recv 12 24 169 1
srv_read 4 11 53 2
srv_get_int 1 4 19 1
srv_get_time 1 4 19 1
srv_get_evpid 1 4 19 1
srv_get_string 3 14 75 1
srv_get_envelope 1 9 47 1
srv_end 2 6 23 1
srv_check_result 6 22 95 1
srv_iter_messages 6 31 171 1
srv_iter_envelopes 9 44 223 2
srv_iter_evpids 7 26 163 3
srv_foreach_envelope 9 31 208 4
srv_show_cmd 3 15 72 3
do_log_brief 1 6 36 2
do_log_verbose 1 6 36 2
do_monitor 4 46 235 2
do_pause_envelope 2 7 52 2
do_pause_mda 1 5 27 2
do_pause_mta 1 5 27 2
do_pause_smtp 1 5 27 2
do_profile 1 7 48 2
do_remove 2 7 52 2
do_resume_envelope 2 7 52 2
do_resume_mda 1 5 27 2
do_resume_mta 1 5 27 2
do_resume_route 2 10 56 2
do_resume_smtp 1 5 27 2
do_schedule 2 7 52 2
do_show_envelope 2 13 95 2
do_show_hoststats 1 5 26 2
do_show_message 3 17 105 2
do_show_queue 16 45 291 2
do_show_hosts 1 5 26 2
do_show_relays 1 5 26 2
do_show_routes 1 5 26 2
do_show_stats 8 45 291 2
do_show_status 4 15 94 2
do_trace 1 7 48 2
do_unprofile 1 7 48 2
do_untrace 1 7 48 2
do_update_table 1 6 46 2
do_encrypt 2 8 56 2
do_block_mta 5 14 166 2
do_unblock_mta 5 14 166 2
do_show_mta_block 1 5 26 2
do_discover 6 26 164 2
do_uncorrupt 5 19 112 2
main 5 63 451 2
sendmail_compat 10 25 210 2
show_queue_envelope 12 57 464 2
getflag 2 8 60 5
show_offline_envelope 7 37 205 1
display 11 47 311 1
str_to_trace 14 31 192 1
str_to_profile 3 9 49 1
is_gzip_buffer 1 6 30 1
is_gzip_fp 2 11 67 1
is_encrypted_buffer 1 6 24 1
is_encrypted_fp 2 11 64 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/queue_ram.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
get_message 2 8 38 1
queue_ram_message_create 3 15 90 1
queue_ram_message_commit 7 41 241 2
queue_ram_message_delete 3 19 115 1
queue_ram_message_fd_r 6 39 216 1
queue_ram_message_corrupt 1 4 15 1
queue_ram_envelope_create 5 27 177 4
queue_ram_envelope_delete 4 21 138 1
queue_ram_envelope_update 4 24 154 3
queue_ram_envelope_load 4 17 115 3
queue_ram_envelope_walk 1 4 21 3
queue_ram_init 1 15 78 3
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mail.maildir.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 5 23 106 2
maildir_engine 19 45 362 1
mkdirs_component 5 13 76 2
mkdirs 13 33 197 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/limit.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
limit_mta_set_defaults 1 24 135 1
limit_mta_set 21 46 367 3
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/delivery_maildir.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mailaddr_tag 7 18 113 3
delivery_maildir_open 24 65 491 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/table_proc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
table_proc_call 9 32 165 1
table_proc_read 3 11 50 2
table_proc_end 2 8 28 1
table_proc_open 2 18 146 1
table_proc_update 1 10 67 1
table_proc_close 1 6 44 1
imsg_add_params 7 22 161 2
table_proc_lookup 10 35 259 5
table_proc_fetch 7 30 216 4
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/table.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
table_backend_lookup 6 12 76 1
table_backend_name 5 12 52 1
table_service_name 11 16 79 1
table_find 3 11 88 2
table_lookup 9 32 201 5
table_fetch 6 22 146 4
table_create 18 62 446 4
table_destroy 2 8 53 1
table_config 2 6 36 1
table_add 5 16 110 3
table_check_type 1 4 19 2
table_check_service 1 4 21 2
table_check_use 2 4 30 3
table_open 3 10 61 1
table_close 2 5 28 1
table_update 2 6 36 1
table_domain_match 1 4 22 2
table_mailaddr_match 3 10 60 2
table_netaddr_match 6 16 110 2
table_match_mask 3 8 61 2
table_inet4_match 3 13 92 2
table_inet6_match 5 21 181 2
table_dump_all 7 36 256 1
table_open_all 3 9 57 1
table_close_all 2 8 45 1
table_parse_lookup 30 85 676 4
table_dump_lookup 24 64 448 2
parse_sockaddr 17 60 409 3
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/esc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
esc_code 1 6 45 2
esc_description 3 8 49 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/scheduler_backend.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
scheduler_backend_lookup 3 8 41 1
scheduler_info 1 11 76 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/iobuf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
iobuf_init 5 15 98 3
iobuf_clear 2 10 59 1
iobuf_drain 5 18 112 2
iobuf_extend 4 14 98 2
iobuf_left 1 4 18 1
iobuf_space 1 4 24 1
iobuf_len 1 4 18 1
iobuf_data 1 4 18 1
iobuf_drop 2 8 41 2
iobuf_getline 6 17 118 2
iobuf_normalize 3 12 80 1
iobuf_read 5 14 86 2
ioqbuf_alloc 4 19 127 2
iobuf_queued 1 4 14 1
iobuf_reserve 5 15 105 2
iobuf_queue 3 10 67 3
iobuf_queuev 5 17 134 3
iobuf_fqueue 1 9 50 3
iobuf_vfqueue 2 11 70 3
iobuf_write 7 25 156 2
iobuf_flush 3 8 46 2
iobuf_flush_ssl 3 8 47 2
iobuf_write_ssl 8 28 148 2
iobuf_read_ssl 8 25 137 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/scheduler.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
scheduler_imsg 44 312 1881 2
scheduler_shutdown 1 5 16 1
scheduler_reset_events 1 8 37 1
scheduler 9 40 299 1
scheduler_timeout 15 109 638 3
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/stat_ramstat.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ramstat_init 1 6 31 1
ramstat_close 1 4 13 1
ramstat_increment 2 15 149 2
ramstat_decrement 2 15 149 2
ramstat_set 2 14 129 2
ramstat_iter 4 17 102 3
ramstat_entry_cmp 1 4 26 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/to.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sockaddr_to_text 2 9 51 1
in6addr_to_text 3 17 148 1
text_to_mailaddr 8 32 201 2
mailaddr_to_text 2 9 68 1
sa_to_text 4 27 218 1
ss_to_text 1 4 24 1
time_to_text 5 26 206 1
duration_to_text 7 39 263 1
text_to_netaddr 4 29 211 2
text_to_relayhost 27 84 603 2
relayhost_to_text 13 53 375 1
text_to_evpid 6 14 76 1
text_to_msgid 7 16 87 1
rule_to_text 19 79 682 1
text_to_userinfo 14 39 260 2
text_to_credentials 6 27 178 2
text_to_expandnode 8 14 99 2
expandnode_to_text 9 18 71 1
alias_is_maildir 3 12 97 3
alias_is_filter 7 22 161 3
alias_is_username 8 15 117 3
alias_is_address 11 32 231 3
alias_is_filename 3 11 81 3
alias_is_include 4 15 98 3
alias_is_error 11 24 222 3
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/dns.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
domainname_is_addr 12 36 262 3
dns_imsg 9 81 616 2
dns_dispatch_host 6 27 210 2
dns_dispatch_ptr 3 11 95 2
dns_dispatch_mx 8 40 293 2
dns_dispatch_mx_preference 9 44 287 2
dns_lookup_host 4 29 192 3
print_dname 6 25 175 3
dname_expand 16 42 291 6
unpack_init 1 7 41 3
unpack_data 3 12 80 3
unpack_u16 2 7 47 2
unpack_u32 2 7 47 2
unpack_inaddr 1 4 26 2
unpack_in6addr 1 4 26 2
unpack_dname 5 16 107 3
unpack_header 2 11 94 2
unpack_query 2 7 66 2
unpack_rr 15 61 519 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mailaddr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mailaddr_line_split 17 37 230 2
mailaddr_line 6 23 146 2
maddrmap_init 1 4 17 1
maddrmap_insert 1 6 44 2
maddrmap_free 2 9 52 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/compress_gzip.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
compress_gzip_chunk 4 24 160 4
uncompress_gzip_chunk 4 25 164 4
compress_gzip_file 7 22 137 2
uncompress_gzip_file 7 22 140 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/ssl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ssl_init 2 12 42 1
ssl_setup 3 20 141 4
ssl_load_file 7 38 229 3
ssl_password_cb 3 11 71 4
ssl_password_cb 4 17 97 4
ssl_load_key 11 55 378 5
ssl_ctx_create 9 40 243 4
ssl_load_certificate 2 7 44 2
ssl_load_keyfile 2 8 59 3
ssl_load_cafile 2 7 44 2
ssl_to_text 1 9 51 1
ssl_error 2 9 56 1
ssl_load_pkey 8 44 265 6
ssl_ctx_fake_private_key 5 21 133 7
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/delivery_mda.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
delivery_mda_open 1 11 70 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/queue_fs.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
queue_fs_message_create 7 29 152 1
queue_fs_message_commit 12 42 259 2
queue_fs_message_fd_r 3 14 81 1
queue_fs_message_delete 3 12 82 1
queue_fs_message_corrupt 4 25 160 1
queue_fs_message_uncorrupt 8 35 214 1
queue_fs_envelope_create 8 36 226 4
queue_fs_envelope_load 6 24 128 3
queue_fs_envelope_update 1 6 49 3
queue_fs_envelope_delete 4 18 101 1
queue_fs_message_walk 13 50 339 6
queue_fs_envelope_walk 6 27 159 3
fsqueue_check_space 10 38 228 1
fsqueue_envelope_path 2 9 53 3
fsqueue_envelope_incoming_path 2 8 41 3
fsqueue_envelope_dump 14 49 275 5
fsqueue_message_path 2 8 44 3
fsqueue_message_corrupt_path 2 7 35 3
fsqueue_message_incoming_path 2 7 35 3
fsqueue_qwalk_new 2 13 97 1
fsqueue_qwalk_close 1 6 27 1
fsqueue_qwalk 15 47 250 2
queue_fs_init 6 34 253 3
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/delivery_lmtp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
inet_socket 7 38 256 1
unix_socket 4 15 124 1
lmtp_open 16 37 410 1
lmtp_banner 11 29 193 4
lmtp_cmd 14 38 269 6
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/ioev.h
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/table_getpwnam.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
table_getpwnam_config 2 6 24 1
table_getpwnam_update 1 4 12 1
table_getpwnam_open 1 4 12 1
table_getpwnam_close 1 4 10 1
table_getpwnam_lookup 9 30 209 5
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/table_static.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
table_static_config 29 85 502 1
table_static_update 4 21 135 1
table_static_open 1 4 12 1
table_static_close 1 4 10 1
table_static_lookup 11 39 236 5
table_static_fetch 4 14 116 4
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/smtpd-api.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
evpid_to_msgid 1 4 15 1
msgid_to_evpid 1 4 18 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/queue.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
queue_imsg 69 420 2788 2
queue_msgid_walk 4 31 214 3
queue_bounce 7 35 250 2
queue_shutdown 1 6 20 1
queue 12 48 324 1
queue_timeout 6 34 197 3
queue_log 4 18 160 3
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/ioev.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
io_strio 3 17 120 1
io_strevent 1 16 77 1
io_set_nonblocking 3 9 58 1
io_set_nolinger 2 7 53 1
io_frame_enter 2 10 59 3
io_frame_leave 4 13 66 1
_io_init 2 8 30 0
io_new 3 14 81 1
io_free 5 16 95 1
io_hold 2 8 43 1
io_release 3 8 49 1
io_set_fd 2 6 30 2
io_set_callback 1 5 41 3
io_set_timeout 1 5 27 2
io_set_lowat 1 5 27 2
io_pause 1 6 38 2
io_resume 1 6 40 2
io_set_read 3 11 64 1
io_set_write 3 11 64 1
io_error 1 4 14 1
io_ssl 1 4 14 1
io_fileno 1 4 14 1
io_paused 1 4 27 2
io_write 1 7 42 3
io_writev 1 7 43 3
io_print 1 4 27 2
io_printf 1 9 48 3
io_vprintf 2 11 66 3
io_queued 1 4 18 1
io_data 1 4 18 1
io_datalen 1 4 18 1
io_getline 1 4 24 2
io_drop 1 4 23 2
io_reload 9 18 110 1
io_reset 4 19 156 3
io_pending 1 4 18 1
io_strflags 7 24 142 1
io_evstr 11 46 312 1
io_dispatch 12 48 272 3
io_callback 1 4 25 2
io_connect 7 24 164 3
io_dispatch_connect 5 30 171 3
io_ssl_error 2 11 46 1
io_start_tls 6 24 148 2
io_dispatch_accept_ssl 5 30 162 3
io_dispatch_connect_ssl 5 30 162 3
io_dispatch_read_ssl 10 41 225 3
io_dispatch_write_ssl 9 42 229 3
io_reload_ssl 10 32 156 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/smtp_session.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
header_default_callback 3 10 73 2
dataline_callback 1 5 29 2
header_bcc_callback 1 3 14 2
header_append_domain_buffer 49 64 451 3
header_address_rewrite_buffer 44 66 479 3
header_domain_append_callback 42 85 644 2
header_missing_callback 3 9 77 2
smtp_session_init 2 17 83 1
smtp_session 5 37 316 4
smtp_session_imsg 39 266 1741 2
smtp_tls_verified 4 21 120 1
smtp_message_fd 13 50 376 2
smtp_io 21 114 710 3
smtp_tx 6 39 355 1
smtp_tx_free 3 13 81 1
smtp_command 69 291 1731 2
smtp_rfc4954_auth_plain 10 45 309 2
smtp_rfc4954_auth_login 6 38 258 2
dsn_notify_str_to_uint8 5 12 73 1
smtp_parse_rcpt_args 13 37 245 2
smtp_parse_mail_args 14 38 304 2
smtp_lookup_servername 3 23 145 1
smtp_connected 4 32 226 1
smtp_send_banner 1 4 22 1
smtp_enter_state 1 7 39 2
smtp_message_end 7 36 181 1
smtp_message_printf 3 17 100 3
smtp_reply 10 50 332 3
smtp_free 7 16 113 2
smtp_mailaddr 14 37 261 5
smtp_verify_certificate 13 91 666 1
smtp_auth_failure_resume 1 6 35 3
smtp_auth_failure_pause 1 10 63 1
smtp_queue_create_message 1 7 49 1
smtp_queue_open_message 1 8 60 1
smtp_queue_commit 1 8 60 1
smtp_queue_rollback 1 6 39 1
smtp_dataline 13 41 267 2
smtp_strstate 1 19 94 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/lka_session.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lka_session 2 23 169 2
lka_session_forward_reply 10 70 382 2
lka_resume 12 55 369 1
lka_expand 33 176 1128 3
lka_find_ancestor 4 11 56 2
lka_submit 26 91 777 3
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/mta_session.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mta_session_init 2 13 61 1
mta_session 13 52 346 2
mta_session_imsg 24 124 743 2
mta_tree_pop 2 12 64 2
mta_free 6 24 141 1
mta_on_timeout 1 8 43 2
mta_on_ptr 1 5 28 3
mta_start 1 5 26 3
mta_connect 23 85 623 1
mta_enter_state 58 233 1458 2
mta_response 51 221 1269 2
mta_io 55 182 1209 3
mta_send 2 13 88 3
mta_queue_data 7 25 182 1
mta_flush_task 8 48 325 5
mta_error 8 27 178 3
mta_start_tls 2 20 124 1
mta_verify_certificate 13 92 669 1
mta_tls_verified 4 18 89 1
dsn_strret 3 11 40 1
dsn_strnotify 6 18 133 1
mta_strstate 1 26 113 1
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/ssl_smtpd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ssl_mta_init 3 17 112 4
dummy_verify 1 4 14 2
ssl_smtp_init 4 16 92 2
Source file: /home/sergeyb/sources/src/usr.sbin/smtpd/table_db.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
table_db_config 2 9 38 1
table_db_update 2 10 46 1
table_db_open 5 22 148 1
table_db_close 1 6 31 1
table_db_lookup 8 33 233 5
table_db_fetch 4 19 156 4
table_db_get_entry_match 3 19 147 4
table_db_get_entry 3 16 129 3
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/sbuffer.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sldns_read_uint16 2 6 55 1
sldns_read_uint32 2 9 83 1
sldns_write_uint16 2 7 66 2
sldns_write_uint32 2 9 104 2
sldns_write_uint48 1 10 130 2
sldns_buffer_invariant 1 3 11 1
sldns_buffer_invariant 4 7 62 1
sldns_buffer_clear 1 6 27 1
sldns_buffer_flip 1 6 27 1
sldns_buffer_rewind 1 5 19 1
sldns_buffer_position 1 4 13 1
sldns_buffer_set_position 2 5 30 2
sldns_buffer_skip 2 5 34 2
sldns_buffer_limit 1 4 13 1
sldns_buffer_set_limit 2 7 44 2
sldns_buffer_capacity 1 4 13 1
sldns_buffer_at 2 5 32 2
sldns_buffer_begin 1 4 17 1
sldns_buffer_end 1 4 18 1
sldns_buffer_current 1 4 18 1
sldns_buffer_remaining_at 3 6 44 2
sldns_buffer_remaining 1 4 18 1
sldns_buffer_available_at 1 4 24 3
sldns_buffer_available 1 4 23 2
sldns_buffer_write_at 4 13 99 4
sldns_buffer_set_at 4 13 97 4
sldns_buffer_write 1 5 35 3
sldns_buffer_write_string_at 1 4 30 3
sldns_buffer_write_string 1 4 25 2
sldns_buffer_write_u8_at 3 6 57 3
sldns_buffer_write_u8 1 5 31 2
sldns_buffer_write_u16_at 3 6 59 3
sldns_buffer_write_u16 1 5 31 2
sldns_buffer_write_u32_at 3 6 59 3
sldns_buffer_write_u48_at 3 6 53 3
sldns_buffer_write_u32 1 5 31 2
sldns_buffer_write_u48 1 5 28 2
sldns_buffer_read_at 1 5 43 4
sldns_buffer_read 1 5 34 3
sldns_buffer_read_u8_at 1 5 34 2
sldns_buffer_read_u8 1 6 32 1
sldns_buffer_read_u16_at 1 5 36 2
sldns_buffer_read_u16 1 6 32 1
sldns_buffer_read_u32_at 1 5 36 2
sldns_buffer_read_u32 1 6 32 1
sldns_buffer_status 1 4 16 1
sldns_buffer_status_ok 2 8 28 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/str2wire.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/parse.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/wire2str.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/pkthdr.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/keyraw.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sldns_rr_dnskey_key_size_raw 18 48 205 3
sldns_calc_keytag_raw 6 22 141 2
sldns_key_EVP_load_gost_id 7 35 185 1
sldns_key_EVP_unload_gost 2 8 26 1
sldns_key_buf2dsa_raw 12 51 322 2
sldns_key_buf2rsa_raw 10 48 267 2
sldns_gost2pkey_raw 2 16 170 2
sldns_ecdsa2pkey_raw 10 36 227 3
sldns_ed255192pkey_raw 3 15 132 2
sldns_digest_evp 5 16 91 4
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/parse.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sldns_fget_token 1 4 34 4
sldns_fget_token_l 54 125 660 5
sldns_fget_keyword_data 1 6 48 6
sldns_fget_keyword_data_l 6 24 161 7
sldns_bgetc 2 8 49 1
sldns_bget_token 1 4 36 4
sldns_bget_token_par 53 113 618 6
sldns_bskipcs 6 20 115 2
sldns_fskipcs 1 4 22 2
sldns_fskipcs_l 7 21 108 3
sldns_bget_keyword_data 6 24 156 6
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/parseutil.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sldns_lookup_by_name 3 9 45 2
sldns_lookup_by_id 3 9 38 2
is_leap_year 3 5 37 1
leap_days 1 8 65 2
sldns_mktime_from_utc 4 20 135 1
sldns_year_and_yday_from_days_since_epoch 4 13 96 2
sldns_mon_and_mday_from_year_and_yday 3 11 69 1
sldns_wday_from_year_and_yday 2 11 77 1
sldns_gmtime64_r 1 15 113 2
sldns_serial_arithmitics_time 1 5 28 2
sldns_serial_arithmitics_gmtime_r 2 7 52 3
sldns_hexdigit_to_int 23 23 133 1
sldns_str2period 28 70 270 2
sldns_parse_escape 10 23 218 2
sldns_parse_char 3 10 60 2
sldns_b32_ntop_calculate_size 2 4 28 1
sldns_b32_ntop_calculate_size_no_padding 1 4 22 1
sldns_b32_ntop_base 14 50 546 6
sldns_b32_ntop 1 4 35 4
sldns_b32_ntop_extended_hex 1 5 35 4
sldns_b32_pton_calculate_size 1 4 14 1
sldns_b32_pton_base 35 79 658 6
sldns_b32_pton 1 4 35 4
sldns_b32_pton_extended_hex 1 5 35 4
sldns_b64_ntop_calculate_size 1 4 26 1
sldns_b64_ntop 8 41 398 4
sldns_b64_pton_calculate_size 1 4 28 1
sldns_b64_pton 18 49 443 3
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/keyraw.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/wire2str.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sldns_wire2str_pkt 2 8 67 2
sldns_wire2str_rr 2 8 67 2
sldns_wire2str_type 1 6 31 1
sldns_wire2str_class 1 6 31 1
sldns_wire2str_dname 2 8 67 2
sldns_wire2str_rcode 1 6 31 1
sldns_wire2str_pkt_buf 1 4 34 4
sldns_wire2str_rr_buf 1 4 38 4
sldns_wire2str_rdata_buf 1 6 43 5
sldns_wire2str_rr_unknown_buf 1 4 38 4
sldns_wire2str_rr_comment_buf 1 7 51 5
sldns_wire2str_type_buf 1 4 26 3
sldns_wire2str_class_buf 1 4 26 3
sldns_wire2str_rcode_buf 1 4 26 3
sldns_wire2str_opcode_buf 1 4 26 3
sldns_wire2str_dname_buf 1 4 38 4
sldns_str_vprint 3 14 86 4
sldns_str_print 1 9 53 4
print_hex_buf 2 10 89 4
print_remainder_hex 1 10 72 5
sldns_wire2str_pkt_scan 11 48 430 4
sldns_rr_tcttl_scan 4 32 266 4
sldns_wire2str_rr_scan 11 59 533 6
sldns_wire2str_rrquestion_scan 3 23 201 6
sldns_wire2str_rr_unknown_scan 5 32 280 6
rr_comment_dnskey 6 28 232 5
rr_comment_rrsig 4 13 101 5
rr_comment_nsec3 5 15 111 5
sldns_wire2str_rr_comment_print 4 12 96 6
sldns_wire2str_header_scan 12 39 481 4
sldns_wire2str_rdata_scan 8 38 249 7
sldns_wire2str_rdata_unknown_scan 2 12 93 4
dname_char_print 9 13 118 3
sldns_wire2str_dname_scan 25 60 485 6
sldns_wire2str_opcode_print 3 8 65 3
sldns_wire2str_rcode_print 3 8 65 3
sldns_wire2str_class_print 3 9 68 3
sldns_wire2str_type_print 3 8 64 3
sldns_wire2str_edns_option_code_print 3 10 68 3
sldns_wire2str_class_scan 3 10 86 4
sldns_wire2str_type_scan 3 10 86 4
sldns_wire2str_ttl_scan 3 10 91 4
sldns_wire2str_rdf_scan 39 82 592 7
sldns_wire2str_int8_scan 2 9 66 4
sldns_wire2str_int16_scan 2 9 72 4
sldns_wire2str_int32_scan 2 9 72 4
sldns_wire2str_period_scan 2 9 71 4
sldns_wire2str_tsigtime_scan 2 19 202 4
sldns_wire2str_a_scan 3 12 95 4
sldns_wire2str_aaaa_scan 4 13 99 4
str_char_print 6 14 99 3
sldns_wire2str_str_scan 4 17 140 4
sldns_wire2str_apl_scan 15 38 363 4
sldns_wire2str_b32_ext_scan 4 20 162 4
sldns_wire2str_b64_scan_num 2 16 112 5
sldns_wire2str_b64_scan 2 7 54 4
sldns_wire2str_hex_scan 2 7 53 4
sldns_wire2str_nsec_scan 12 40 295 4
sldns_wire2str_nsec3_salt_scan 4 17 124 4
sldns_wire2str_cert_alg_scan 4 14 114 4
sldns_wire2str_alg_scan 1 4 32 4
sldns_wire2str_unknown_scan 1 4 32 4
sldns_wire2str_time_scan 4 17 131 4
loc_cm_print 4 14 104 4
sldns_wire2str_loc_scan 6 73 566 4
sldns_wire2str_wks_scan 15 49 368 4
sldns_wire2str_nsap_scan 1 4 34 4
sldns_wire2str_atma_scan 1 4 34 4
sldns_wire2str_ipseckey_scan_internal 8 37 257 6
sldns_wire2str_ipseckey_scan 2 16 106 6
sldns_wire2str_hip_scan 3 20 181 4
sldns_wire2str_int16_data_scan 4 18 127 4
sldns_wire2str_nsec3_next_owner_scan 1 5 32 4
sldns_wire2str_ilnp64_scan 2 12 98 4
sldns_wire2str_eui48_scan 2 11 110 4
sldns_wire2str_eui64_scan 2 12 126 4
sldns_wire2str_tag_scan 6 18 166 4
sldns_wire2str_long_str_scan 2 12 99 4
sldns_wire2str_tsigerror_scan 4 14 114 4
sldns_wire2str_edns_llq_print 4 35 318 4
sldns_wire2str_edns_ul_print 2 14 89 4
sldns_wire2str_edns_nsid_print 6 19 141 4
sldns_wire2str_edns_dau_print 4 14 107 4
sldns_wire2str_edns_dhu_print 4 14 107 4
sldns_wire2str_edns_n3u_print 3 12 85 4
sldns_wire2str_edns_subnet_print 9 57 514 4
sldns_wire2str_edns_keepalive_print 4 18 117 4
sldns_wire2str_edns_option_print 10 40 237 5
print_edns_opts 4 30 193 4
sldns_wire2str_edns_scan 10 52 408 6
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/str2wire.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sldns_str2wire_dname_buf_rel 22 81 471 4
sldns_str2wire_dname_buf 1 4 29 3
sldns_str2wire_dname_buf_origin 7 20 139 5
sldns_str2wire_dname 3 11 81 2
rrinternal_get_owner 11 50 307 10
rrinternal_get_ttl 5 19 127 6
rrinternal_get_class 5 16 105 5
rrinternal_get_type 5 16 100 5
rrinternal_write_typeclassttl 4 20 142 8
rrinternal_get_delims 8 16 59 3
sldns_rdf_type_maybe_quoted 2 5 16 1
rrinternal_get_quoted 7 18 99 3
rrinternal_spool_hex 7 30 194 6
rrinternal_parse_unknown 9 38 247 7
rrinternal_parse_rdf 11 56 339 13
sldns_parse_rdf_token 23 45 364 9
sldns_affix_token 3 16 131 9
rrinternal_parse_rdata 26 79 571 9
sldns_str2wire_rr_buf_internal 9 37 326 10
sldns_str2wire_rr_buf 1 7 62 9
sldns_str2wire_rr_question_buf 1 7 59 8
sldns_wirerr_get_type 2 6 33 3
sldns_wirerr_get_class 2 6 35 3
sldns_wirerr_get_ttl 2 6 35 3
sldns_wirerr_get_rdatalen 2 6 35 3
sldns_wirerr_get_rdata 2 6 32 3
sldns_wirerr_get_rdatawl 2 6 32 3
sldns_get_errorstr_parse 2 6 32 1
sldns_strip_ws 6 10 90 1
sldns_fp2wire_rr_buf 21 58 452 5
sldns_str2wire_rdf_buf 38 81 487 4
sldns_str2wire_int8_buf 3 12 87 3
sldns_str2wire_int16_buf 3 12 87 3
sldns_str2wire_int32_buf 5 18 129 3
sldns_str2wire_a_buf 3 11 79 3
sldns_str2wire_aaaa_buf 4 12 75 3
sldns_str2wire_str_buf 6 21 128 3
sldns_str2wire_apl_buf 18 67 443 3
sldns_str2wire_b64_buf 4 16 94 3
sldns_str2wire_b32_ext_buf 3 14 98 3
sldns_str2wire_hex_buf 10 28 209 3
sldns_str2wire_nsec_buf 15 53 400 3
sldns_str2wire_type_buf 4 11 68 3
sldns_str2wire_class_buf 4 11 68 3
sldns_str2wire_cert_alg_buf 5 17 98 3
sldns_str2wire_alg_buf 3 13 77 3
sldns_str2wire_tsigerror_buf 3 13 77 3
sldns_str2wire_time_buf 16 35 278 3
sldns_str2wire_tsigtime_buf 3 17 119 3
sldns_str2wire_period_buf 3 12 75 3
loc_parse_cm 8 31 180 4
sldns_str2wire_loc_buf 33 133 893 3
ldns_tolower_str 3 9 40 1
sldns_str2wire_wks_buf 23 59 462 3
sldns_str2wire_nsap_buf 11 31 225 3
sldns_str2wire_atma_buf 9 27 200 3
sldns_str2wire_ipseckey_buf 16 57 509 3
sldns_str2wire_nsec3_salt_buf 9 25 210 3
sldns_str2wire_ilnp64_buf 5 20 159 3
sldns_str2wire_eui48_buf 4 19 139 3
sldns_str2wire_eui64_buf 4 21 163 3
sldns_str2wire_tag_buf 5 17 119 3
sldns_str2wire_long_str_buf 4 15 83 3
sldns_str2wire_hip_buf 9 37 324 3
sldns_str2wire_int16_data_buf 7 26 171 3
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/rrdef.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/sbuffer.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sldns_buffer_new 3 19 105 1
sldns_buffer_new_frm_data 4 18 116 3
sldns_buffer_init_frm_data 1 8 56 3
sldns_buffer_init_vfixed_frm_data 1 8 56 3
sldns_buffer_set_capacity 3 15 87 2
sldns_buffer_reserve 4 17 101 2
sldns_buffer_printf 7 34 216 3
sldns_buffer_free 3 9 36 1
sldns_buffer_export 1 5 19 1
sldns_buffer_copy 2 9 58 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/rrdef.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sldns_rr_descript 4 16 70 1
sldns_rr_descriptor_minimum 2 8 26 1
sldns_rr_descriptor_maximum 3 12 42 1
sldns_rr_descriptor_field_type 3 12 60 2
sldns_get_rr_type_by_name 17 30 253 1
sldns_get_rr_class_by_name 4 12 66 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/sldns/parseutil.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/ipsecmod/ipsecmod-whitelist.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
whitelist_str_cfg 4 26 162 2
read_whitelist 3 10 61 2
ipsecmod_whitelist_apply_cfg 2 9 48 2
whitelist_free 2 7 41 2
whitelist_get_mem 2 8 53 2
ipsecmod_whitelist_delete 2 7 28 1
ipsecmod_domain_is_whitelisted 2 7 50 4
ipsecmod_whitelist_get_mem 2 8 32 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/ipsecmod/ipsecmod.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/ipsecmod/ipsecmod-whitelist.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/ipsecmod/ipsecmod.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ipsecmod_apply_cfg 6 11 65 2
ipsecmod_init 3 16 92 2
ipsecmod_deinit 3 10 67 2
ipsecmod_new 2 14 119 2
ipsecmod_error 1 5 27 2
generate_request 2 20 145 7
call_hook 11 74 579 3
ipsecmod_handle_query 16 61 443 4
ipsecmod_handle_response 9 29 191 4
ipsecmod_operate 16 41 281 4
ipsecmod_inform_super 5 25 148 3
ipsecmod_clear 2 6 28 2
ipsecmod_get_mem 2 7 51 2
ipsecmod_get_funcblock 1 4 10 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/respip/respip.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
respip_set_create 3 13 66 1
respip_set_delete 2 7 28 1
respip_set_get_tree 2 6 23 1
respip_find_or_create 6 25 165 3
respip_tag_cfg 4 18 102 4
respip_action_cfg 10 32 197 3
new_rrset 4 28 172 3
respip_enter_rr 16 56 395 4
respip_data_cfg 3 11 75 3
respip_set_apply_cfg 10 51 304 6
respip_global_apply_cfg 1 9 63 2
respip_views_apply_cfg 9 36 219 3
copy_rrset 6 42 413 2
respip_init 1 6 25 2
respip_deinit 1 5 22 2
rdata2sockaddr 5 22 197 5
respip_addr_lookup 7 27 173 3
make_new_reply_info 4 16 115 4
respip_data_answer 13 50 400 13
respip_nodata_answer 10 27 166 6
populate_action_info 6 23 154 8
respip_rewrite_reply 21 81 493 8
generate_cname_request 2 14 120 2
respip_operate 20 65 425 4
respip_merge_cname 11 41 273 7
respip_inform_super 6 21 152 3
respip_clear 1 4 21 2
respip_get_mem 1 6 25 2
respip_get_funcblock 1 4 10 1
resp_addr_get_action 2 4 19 1
resp_addr_get_rrset 2 4 18 1
respip_set_is_empty 2 4 23 1
respip_inform_print 3 18 186 6
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/respip/respip.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/smallapp/unbound-checkconf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 13 62 1
print_option 5 12 92 3
check_mod 5 19 145 2
localzonechecks 3 9 50 1
view_and_respipchecks 6 18 118 1
warn_hosts 5 19 114 2
interfacechecks 12 32 259 1
aclchecks 3 14 78 1
is_file 4 17 77 1
is_dir 4 17 80 1
basedir 4 10 58 1
check_chroot_string 7 18 111 4
check_chroot_filelist 2 8 59 4
check_chroot_filelist_wild 8 15 137 4
ecs_conf_checks 3 9 52 1
morechecks 105 151 1325 2
check_fwd 3 8 43 1
check_hints 3 8 43 1
checkconf 9 32 221 3
main 11 37 188 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/smallapp/unbound-host.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 30 147 1
isip4 2 13 125 2
isip6 4 26 182 2
massage_qname 4 16 84 2
massage_type 7 16 91 3
massage_class 5 13 69 1
secure_str 3 6 30 1
pretty_type 1 6 46 3
pretty_class 1 6 46 3
pretty_rcode 1 6 43 3
print_rd 1 6 50 3
pretty_rdata 7 20 138 7
pretty_output 29 72 504 5
dnslook 2 14 98 5
lookup 3 18 152 4
check_ub_res 2 7 32 1
main 24 78 399 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/smallapp/worker_cb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
worker_handle_control_cmd 1 6 43 5
worker_handle_request 1 7 41 4
worker_handle_reply 1 7 41 4
worker_handle_service_reply 1 7 41 4
remote_accept_callback 1 7 41 4
remote_control_callback 1 7 41 4
worker_sighandler 1 4 22 2
worker_send_query 1 11 85 11
worker_win_stop_cb 1 4 28 3
wsvc_cron_cb 1 4 16 1
worker_alloc_cleanup 1 4 16 1
libworker_send_query 1 11 85 11
libworker_handle_reply 1 7 41 4
libworker_handle_service_reply 1 7 41 4
libworker_handle_control_cmd 1 6 43 5
libworker_fg_done_cb 1 6 44 5
libworker_bg_done_cb 1 6 44 5
libworker_event_done_cb 1 6 44 5
context_query_cmp 1 5 28 2
worker_stat_timer_cb 1 4 16 1
worker_probe_timer_cb 1 4 16 1
worker_start_accept 1 4 16 1
worker_stop_accept 1 4 16 1
order_lock_cmp 5 10 87 2
codeline_cmp 1 4 22 2
replay_var_compare 1 5 28 2
remote_get_opt_ssl 1 4 23 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/smallapp/unbound-anchor.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 33 164 1
get_builtin_cert 1 26 29 1
get_builtin_ds 1 6 10 1
print_data 2 9 61 3
ub_ctx_error_exit 5 7 55 3
create_unbound_context 15 33 249 5
verb_cert 6 13 88 2
verb_certs 4 9 76 2
read_cert_bio 8 23 120 1
read_cert_file 15 46 262 1
read_builtin_cert 7 24 133 1
read_cert_or_builtin 4 11 67 1
do_list_builtin 1 8 43 1
verb_addr 4 13 130 2
ip_list_free 2 9 35 1
RR_to_ip 8 34 285 4
resolve_host_ip 13 31 226 6
parse_ip_addr 7 31 243 2
resolve_name 6 25 155 7
wipe_ip_usage 2 7 27 1
count_unused 3 9 39 1
pick_random_ip 8 16 100 1
fd_close 1 5 17 1
print_sock_err 3 5 43 1
connect_to_ip 4 17 105 1
setup_sslctx 3 9 39 1
TLS_initiate 12 37 199 2
TLS_shutdown 2 9 46 3
write_ssl_line 7 24 172 3
process_one_header 8 17 137 3
read_ssl_line 13 32 182 3
read_http_headers 4 13 75 2
read_data_chunk 11 30 194 2
parse_chunk_header 2 9 51 2
do_chunked_read 18 54 328 1
write_http_get 5 11 64 3
read_chunked_zero_terminate 9 25 160 2
read_http_result 7 22 129 1
https_to_ip 6 31 161 3
https 6 19 119 3
free_file_bio 1 8 43 1
xml_selectbio 5 13 94 2
xml_charhandle 13 32 208 3
find_att 3 9 59 2
xml_convertdate 17 49 315 1
handle_keydigest 9 27 178 2
xml_is_zone_name 4 13 110 2
xml_startelem 10 31 213 3
xml_append_str 3 7 48 2
xml_append_bio 9 19 134 2
xml_append_ds 1 13 103 1
xml_endelem 7 17 123 2
xml_entitydeclhandler 2 12 86 9
xml_parse_setup 10 28 245 3
xml_parse 13 47 313 2
get_usage_of_ex 4 14 84 1
get_valid_signers 28 73 473 2
verify_p7sig 20 58 353 4
write_unsigned_root 8 26 141 1
write_root_anchor 11 26 182 2
verify_and_update_anchor 3 16 98 5
do_wsa_cleanup 1 1 10 1
do_certupdate 6 34 245 13
try_read_anchor 17 39 248 1
write_builtin_anchor 7 15 112 1
provide_builtin 4 16 53 2
add_5011_probe_root 3 10 58 2
prime_root_key 5 17 94 1
read_if_pending_keys 7 19 120 1
read_last_success_time 9 26 175 1
probe_date_allows_certupdate 10 28 146 1
do_root_update_work 12 33 236 13
main 25 83 371 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/smallapp/unbound-control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 2 76 377 1
timeval_divide 2 13 88 3
pr_stats 3 35 312 2
print_uptime 1 6 42 1
print_mem 4 12 97 1
print_hist 3 18 142 1
print_extended 21 65 615 1
do_stats_shm 3 17 111 3
print_stats_shm 8 32 259 1
ssl_err 1 6 28 1
setup_ctx 15 38 260 1
contact_server 23 58 435 3
setup_ssl 10 30 170 3
send_file 3 7 59 4
send_eof 2 6 43 1
go_cmd 19 47 415 4
go 6 24 177 5
main 26 74 455 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/cachedb/cachedb.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/cachedb/cachedb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
testframe_init 2 16 103 2
testframe_deinit 2 13 74 2
testframe_lookup 4 25 161 4
testframe_store 3 30 194 5
cachedb_find_backend 2 6 29 1
cachedb_apply_cfg 3 12 63 2
cachedb_init 6 23 142 2
cachedb_deinit 4 12 82 2
cachedb_new 2 10 68 2
error_response 2 10 64 3
calc_hash 8 35 331 3
prep_data 6 34 284 2
good_expiry_and_qinfo 3 12 82 2
packed_rrset_ttl_subtract 4 13 92 2
adjust_msg_ttl 3 12 99 2
parse_data 8 49 384 2
cachedb_extcache_lookup 4 16 113 2
cachedb_extcache_store 2 10 92 2
cachedb_intcache_lookup 4 19 140 1
cachedb_intcache_store 2 8 55 1
cachedb_handle_query 10 36 214 4
cachedb_handle_response 3 10 65 4
cachedb_operate 16 40 289 4
cachedb_inform_super 1 5 33 3
cachedb_clear 3 10 53 2
cachedb_get_mem 2 7 44 2
cachedb_get_funcblock 1 4 10 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_anchor.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
anchor_cmp 3 13 93 2
anchors_create 4 20 133 1
assembled_rrset_delete 3 14 82 1
anchors_delfunc 4 22 126 2
anchors_delete 3 13 82 1
anchors_init_parents_locked 5 23 151 1
init_parents 1 6 30 1
anchor_find 4 21 140 5
anchor_new_ta 7 31 186 6
anchor_find_key 5 11 75 4
anchor_new_ta_key 3 15 97 3
anchor_store_new_key 9 40 242 6
anchor_store_new_rr 2 16 111 4
anchor_insert_insecure 2 14 78 2
anchor_store_str 3 20 129 3
anchor_read_file 14 55 329 4
skip_to_eol 3 8 34 1
is_bind_special 5 11 31 1
readkeyword_bindfile 26 67 393 4
skip_to_special 6 20 129 4
process_bind_contents 25 78 495 4
anchor_read_bind_file 8 38 239 3
anchor_read_bind_file_wild 17 48 296 3
assemble_it 9 63 459 3
anchors_assemble 5 15 82 1
anchors_ds_unsupported 4 10 61 1
anchors_dnskey_unsupported 3 9 51 1
anchors_assemble_rrsets 12 56 332 1
anchors_apply_cfg 44 110 819 2
anchors_lookup 7 35 215 4
anchors_get_mem 2 11 60 1
anchors_add_insecure 3 21 144 3
anchors_delete_insecure 6 26 194 3
keytag_compare 3 8 56 2
anchor_list_keytags 11 24 202 3
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_sigcrypt.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/autotrust.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
autr_global_create 2 9 49 1
autr_global_delete 2 7 34 1
probetree_cmp 4 11 92 2
autr_get_num_anchors 3 11 57 1
position_in_string 2 7 50 2
verbose_key 3 18 139 4
parse_comments 20 83 399 2
str_contains_data 6 11 56 2
dnskey_flags 3 11 58 3
rr_is_dnskey_sep 1 4 28 3
ta_is_dnskey_sep 1 8 62 1
rr_is_dnskey_revoked 1 4 28 3
autr_ta_create 2 12 71 3
autr_tp_create 6 45 347 4
autr_rrset_delete 2 8 38 1
autr_point_delete 4 23 138 1
find_add_tp 4 21 122 4
add_trustanchor_frm_rr 3 17 121 5
add_trustanchor_frm_str 7 39 244 8
load_trustanchor 5 26 172 8
assemble_iterate_ds 3 16 114 4
assemble_iterate_dnskey 5 18 134 4
assemble_iterate_hasfirst 1 7 57 2
assemble_iterate_count 2 10 70 2
ub_packed_rrset_heap_key 4 21 172 2
packed_rrset_heap_data 12 64 519 2
autr_assemble 7 37 224 1
parse_int 2 11 59 2
parse_id 4 23 125 2
parse_var_line 17 52 520 3
handle_origin 5 17 107 3
read_multiline 14 49 287 4
autr_read_file 15 70 425 2
trustanchor_state2str 7 12 52 1
print_id 3 15 98 5
autr_write_contents 19 67 509 3
autr_write_file 11 42 296 2
verify_dnskey 2 12 94 4
rrsig_get_expiry 2 6 34 2
min_expiry 4 14 115 2
rr_is_selfsigned_revoked 1 11 69 4
seen_trustanchor 2 6 31 2
seen_revoked_trustanchor 1 4 18 2
revoke_dnskey 5 17 111 2
dnskey_compare_skip_revbit 6 19 104 4
ta_compare 7 22 188 4
find_key 5 17 100 5
add_key 3 27 219 4
key_ttl 1 5 30 1
set_tp_times 11 34 260 4
init_events 2 7 40 1
check_contains_revoked 9 41 342 5
key_matches_a_ds 8 31 187 5
update_events 11 47 371 5
check_holddown 3 16 99 3
reset_holddown 1 5 32 3
set_trustanchor_state 1 8 57 4
do_newkey 2 5 37 3
do_addtime 4 16 110 3
do_remtime 3 9 74 3
do_keyrem 3 8 65 3
do_keypres 2 5 37 3
do_revoked 3 9 70 3
anchor_state_update 15 39 220 3
init_zsk_to_ksk 10 27 164 3
remove_missing_trustanchors 14 43 250 3
do_statetable 3 11 74 3
autr_holddown_exceed 4 9 65 3
autr_cleanup_keys 6 22 132 1
calc_next_probe 4 14 92 2
wait_probe_time 2 7 48 1
reset_worker_timer 3 13 100 1
set_next_probe 3 34 282 3
autr_tp_remove 3 37 286 3
autr_process_prime 19 77 462 4
autr_debug_print_ta 7 16 139 1
autr_debug_print_tp 8 34 328 1
autr_debug_print 1 11 65 1
probe_answer_cb 1 8 59 5
probe_anchor 4 36 276 2
todo_probe 3 24 216 2
autr_probe_timer 4 17 93 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_nsec.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rrset_get_ttl 1 5 30 1
nsecbitmap_has_type_rdata 8 26 165 3
nsec_has_type 5 13 115 2
nsec_get_next 5 18 124 3
val_nsec_proves_no_ds 5 16 89 2
nsec_verify_rrset 4 18 127 5
val_nsec_prove_nodata_dsreply 21 68 441 7
nsec_proves_nodata 23 67 396 3
val_nsec_proves_name_error 14 33 194 2
val_nsec_proves_insecuredelegation 7 17 93 2
nsec_closest_encloser 3 13 84 2
val_nsec_proves_positive_wildcard 4 14 75 3
val_nsec_proves_no_wc 5 27 157 3
dlv_topdomain 1 8 61 4
val_nsec_check_dlv 14 49 340 4
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/validator.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fill_nsec3_iter 8 36 284 3
val_apply_cfg 11 46 277 3
val_init 4 20 126 2
val_deinit 3 16 109 2
val_new_getmsg 8 36 306 2
val_new 2 12 90 2
val_error 1 6 30 2
needs_validation 11 29 166 3
already_validated 3 10 45 1
generate_request 6 42 285 9
generate_keytag_query 5 38 280 3
prime_trust_anchor 6 26 168 4
validate_msg_signatures 15 66 503 6
detect_wrongly_truncated 7 18 135 1
remove_spurious_authority 10 32 230 2
validate_positive_response 16 53 341 5
validate_nodata_response 18 58 352 5
validate_nameerror_response 15 60 368 6
validate_referral_response 3 14 89 1
validate_any_response 16 61 360 5
validate_cname_response 20 64 421 5
validate_cname_noanswer_response 27 82 460 5
processInit 37 138 1077 4
processFindKey 20 101 722 3
processValidate 22 138 900 4
val_dlv_init 15 87 631 4
processFinished 28 108 786 4
processDLVLookup 16 78 596 4
val_handle 7 31 160 4
val_operate 17 69 441 4
primeResponseToKE 9 61 411 4
ds_response_to_ke 26 164 1028 7
process_ds_response 9 48 315 7
process_dnskey_response 10 72 467 7
process_prime_response 12 50 348 6
process_dlv_response 14 65 493 6
val_inform_super 6 34 234 3
val_clear 2 6 28 2
val_get_mem 2 9 69 2
val_get_funcblock 1 4 10 1
val_state_to_string 6 11 47 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_nsec3.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rrset_get_count 2 7 38 1
nsec3_unknown_flags 3 9 78 2
nsec3_has_optout 3 9 78 2
nsec3_get_algo 3 9 76 2
nsec3_known_algo 4 13 83 2
nsec3_get_iter 3 12 96 2
nsec3_get_salt 4 20 147 4
nsec3_get_params 4 11 88 6
nsec3_get_nextowner 5 27 206 4
nsec3_hash_to_b32 4 16 114 6
nsec3_get_nextowner_b32 2 12 91 4
nsec3_has_type 5 20 172 3
filter_next 10 32 240 3
filter_first 1 6 38 3
nsec3_rrset_has_known 4 9 56 1
filter_init 11 31 227 4
get_max_iter 3 10 72 2
nsec3_iteration_count_high 3 17 114 3
nsec3_hash_cmp 8 32 258 2
nsec3_get_hashed 6 31 222 9
nsec3_calc_hash 5 35 290 3
nsec3_calc_b32 3 18 111 3
nsec3_hash_name 7 38 241 8
label_compare_lower 4 14 95 3
nsec3_hash_matches_owner 5 11 95 3
find_matching_nsec3 5 28 175 7
nsec3_covers 15 32 277 5
find_covering_nsec3 5 29 183 7
nsec3_find_closest_encloser 3 16 110 5
next_closer 2 9 63 5
nsec3_prove_closest_encloser 9 46 294 6
nsec3_ce_wildcard 3 17 103 4
nsec3_do_prove_nameerror 7 33 210 4
nsec3_prove_nameerror 7 18 135 6
nsec3_do_prove_nodata 30 97 587 4
nsec3_prove_nodata 7 16 120 6
nsec3_prove_wildcard 10 35 254 7
list_is_secure 6 25 185 6
nsec3_prove_nods 16 64 385 7
nsec3_prove_nxornodata 11 29 203 7
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_secalgo.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_nsec3.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/validator.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_kentry.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_neg.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
val_neg_data_compare 1 7 64 2
val_neg_zone_compare 3 12 93 2
val_neg_create 3 16 112 2
val_neg_get_mem 1 8 43 1
neg_clear_datas 1 6 39 2
neg_clear_zones 1 8 59 2
neg_cache_delete 2 7 42 1
neg_lru_front 2 10 56 2
neg_lru_remove 3 10 64 2
neg_lru_touch 2 8 38 2
neg_delete_zone 5 24 156 2
neg_delete_data 6 29 186 2
neg_make_space 3 6 39 2
neg_find_zone 1 14 90 4
neg_find_data 1 13 79 4
calc_data_need 4 18 140 1
calc_zone_need 2 10 61 2
neg_closest_zone_parent 6 28 176 5
neg_closest_data_parent 5 27 161 4
neg_setup_zone_node 3 20 116 4
neg_zone_chain 6 29 164 5
val_neg_zone_take_inuse 3 10 50 1
neg_create_zone 7 26 180 4
reply_find_soa 3 9 64 1
reply_has_nsec 5 16 103 1
neg_setup_data_node 3 18 98 3
neg_data_chain 6 28 159 4
wipeout 15 47 342 4
neg_insert_data 21 79 551 3
val_neg_addreply 9 39 311 2
neg_closest_data 2 17 106 5
val_neg_dlvlookup 16 78 526 6
reply_nsec_signer 7 24 163 3
val_neg_addreferral 10 42 297 3
nsec3_no_type 3 9 66 2
grab_nsec 11 31 227 10
neg_find_nsec3_ce 6 27 199 7
neg_params_ok 5 11 85 2
neg_nsec3_getnc 9 26 207 8
neg_nsec3_proof_ds 19 62 442 9
add_soa 5 27 163 5
val_neg_getmsg 17 52 385 8
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_nsec.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/autotrust.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_sigcrypt.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rrset_get_count 2 7 38 1
rrset_get_sigcount 1 5 30 1
rrset_get_sig_keytag 2 10 89 2
rrset_get_sig_algo 2 8 77 2
rrset_get_rdata 2 8 73 4
dnskey_get_flags 2 12 68 2
dnskey_get_protocol 2 9 54 2
dnskey_get_algo 2 9 54 2
dnskey_get_pubkey 2 14 90 4
ds_get_key_algo 2 9 54 2
ds_get_digest_algo 2 9 54 2
ds_get_keytag 2 11 64 2
ds_get_sigdata 2 14 80 4
ds_digest_size_algo 1 4 23 2
ds_create_dnskey_digest 1 19 138 6
ds_digest_match_dnskey 9 37 202 5
ds_digest_algo_is_supported 1 5 24 2
ds_key_algo_is_supported 1 5 23 2
dnskey_calc_keytag 1 7 44 2
dnskey_algo_is_supported 1 6 23 2
algo_needs_init_dnskey_add 4 19 123 3
algo_needs_init_list 2 13 92 2
algo_needs_init_ds 5 23 160 4
algo_needs_set_secure 3 10 51 2
algo_needs_set_bogus 2 4 30 2
algo_needs_num_missing 1 4 14 1
algo_needs_missing 5 11 69 1
dnskeyset_verify_rrset 11 49 291 6
algo_needs_reason 4 12 106 4
dnskey_verify_rrset 7 33 215 6
dnskeyset_verify_rrset_sig 7 34 226 8
canonical_compare_byfield 39 99 627 4
canonical_compare 32 59 362 3
canonical_tree_compare 1 7 65 2
canonical_sort 3 12 94 4
insert_can_owner 4 26 196 5
canonicalize_rdata 34 81 409 3
rrset_canonical_equal 19 55 531 3
rrset_canonical 7 48 355 6
sigdate_error 8 22 192 4
check_dates 12 50 340 5
adjust_ttl 8 33 238 6
dnskey_verify_rrset_sig 17 105 715 11
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_kentry.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
key_entry_sizefunc 4 14 123 2
key_entry_compfunc 3 11 77 2
key_entry_delkeyfunc 2 9 56 2
key_entry_deldatafunc 1 8 53 2
key_entry_hash 1 7 63 1
key_entry_copy_toregion 11 40 257 2
key_entry_copy 12 61 357 1
key_entry_isnull 2 5 39 1
key_entry_isgood 2 5 39 1
key_entry_isbad 1 5 35 1
key_entry_set_reason 1 5 35 2
key_entry_get_reason 1 5 30 1
key_entry_setup 4 20 163 6
key_entry_create_null 2 16 99 6
key_entry_create_rrset 5 26 198 7
key_entry_create_bad 2 16 99 6
key_entry_get_rrset 6 26 204 2
dnskey_get_keysize 2 12 103 2
kd_get_flags 2 9 58 2
key_entry_keysize 6 16 110 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_kcache.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_anchor.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_utils.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_secalgo.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
nsec3_hash_algo_size_supported 2 9 24 1
secalgo_nsec3_hash 2 11 49 4
secalgo_hash_sha256 1 4 29 3
ds_digest_size_supported 11 20 72 1
do_gost94 2 7 51 3
secalgo_ds_digest 10 24 115 4
dnskey_algo_id_is_supported 23 27 90 1
log_crypto_error 1 6 40 2
setup_dsa_sig 8 31 206 2
setup_ecdsa_sig 12 47 414 2
ecdsa_evp_workaround_init 1 9 58 1
setup_key_digest 43 127 573 5
verify_canonrrset 43 99 659 7
nsec3_hash_algo_size_supported 2 9 24 1
secalgo_nsec3_hash 2 11 55 4
secalgo_hash_sha256 1 4 35 3
ds_digest_size_supported 8 14 41 1
secalgo_ds_digest 8 21 96 4
dnskey_algo_id_is_supported 17 20 60 1
nss_key_create 3 20 93 1
nss_buf2ecdsa 9 42 318 3
nss_buf2dsa 9 53 351 2
nss_buf2rsa 8 40 245 2
nss_setup_key_digest 27 87 526 7
verify_canonrrset 15 85 522 7
_digest_nettle 5 41 184 4
nsec3_hash_algo_size_supported 2 9 24 1
secalgo_nsec3_hash 2 11 50 4
secalgo_hash_sha256 1 4 32 3
ds_digest_size_supported 9 17 51 1
secalgo_ds_digest 8 18 90 4
dnskey_algo_id_is_supported 17 20 57 1
_verify_nettle_dsa 16 69 486 5
_verify_nettle_rsa 10 68 414 6
_verify_nettle_ecdsa 6 55 385 6
_verify_nettle_ed25519 4 17 92 5
verify_canonrrset 28 54 286 7
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_neg.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_utils.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
val_classify_response 29 45 369 5
rrsig_get_signer 3 16 77 4
val_find_rrset_signer 2 13 80 3
val_find_best_signer 5 25 169 5
val_find_signer 26 87 568 6
rrset_get_count 2 7 38 1
rrset_get_ttl 2 7 38 1
val_verify_rrset 7 42 341 6
val_verify_rrset_entry 1 17 148 5
verify_dnskeys_with_ds_rr 9 40 244 6
val_favorite_ds_algo 5 15 85 1
val_verify_DNSKEY_with_DS 16 55 342 6
val_verify_new_DNSKEYs 5 22 195 7
val_verify_DNSKEY_with_TA 31 88 561 7
val_verify_new_DNSKEYs_with_ta 5 25 202 8
val_dsset_isusable 10 34 253 1
rrsig_get_labcount 2 6 41 2
val_rrset_wildcard 6 31 185 2
val_chase_cname 5 18 130 3
rrset_has_signer 5 17 133 3
val_fill_reply 18 57 495 6
val_reply_remove_auth 1 11 87 2
val_check_nonsecure 8 44 328 2
check_no_anchor 2 8 55 4
val_mark_indeterminate 4 17 141 4
val_mark_insecure 4 14 115 4
val_next_unchecked 3 12 75 2
val_classification_to_string 10 16 73 1
sock_list_logentry 2 6 50 3
val_blacklist 8 19 141 4
val_has_signed_nsecs 9 22 167 2
val_find_DS 4 31 224 6
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/validator/val_kcache.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
key_cache_create 3 22 120 1
key_cache_delete 2 7 28 1
key_cache_insert 5 14 100 3
key_cache_search 2 15 102 5
key_cache_obtain 5 23 139 6
key_cache_get_mem 1 4 23 1
key_cache_remove 1 11 72 4
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/dns64/dns64.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
reverse 2 7 35 2
uitoa 2 9 49 2
extract_ipv4 2 10 146 2
ipv4_to_ptr 2 13 99 2
ptr_to_ipv6 9 20 171 2
synthesize_aaaa 2 14 230 4
dns64_apply_cfg 6 20 132 2
dns64_init 3 15 86 2
dns64_deinit 2 7 38 2
handle_ipv6_ptr 6 31 268 2
generate_type_A_query 3 21 128 2
handle_event_pass 9 16 135 2
handle_event_moddone 7 12 80 2
dns64_operate 4 22 135 4
dns64_synth_aaaa_data 9 63 518 6
dns64_adjust_a 11 58 489 3
dns64_adjust_ptr 2 15 131 2
dns64_inform_super 8 24 176 3
dns64_clear 1 4 21 2
dns64_get_mem 2 7 44 2
dns64_get_funcblock 1 4 10 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/dns64/dns64.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/dnstap/dnstap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dt_pack 3 17 117 3
dt_send 3 10 59 3
dt_msg_init 3 21 178 3
dt_create 5 39 228 2
dt_apply_identity 6 22 147 2
dt_apply_version 5 15 107 2
dt_apply_cfg 8 37 187 2
dt_init 2 7 34 1
dt_delete 2 10 50 1
dt_fill_timeval 1 9 52 5
dt_fill_buffer 1 7 46 3
dt_msg_fill_net 7 35 263 7
dt_msg_send_client_query 3 20 183 4
dt_msg_send_client_response 3 20 183 4
dt_msg_send_outside_query 6 34 269 6
dt_msg_send_outside_response 6 40 329 10
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/dnstap/dnstap.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/msgparse.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
smart_compare 7 13 106 4
new_rrset 3 30 212 9
nsec_at_apex 9 33 196 1
pkt_rrset_flags 5 10 56 3
pkt_hash_rrset 1 10 85 5
pkt_hash_rrset_first 1 6 31 2
pkt_hash_rrset_rest 1 9 67 4
rrset_parse_equals 7 10 83 8
msgparse_hashtable_lookup 3 13 89 8
pkt_rrsig_covered 3 15 103 3
pkt_rrsig_covered_equals 3 7 40 3
msgparse_bucket_remove 3 12 74 2
change_section 12 37 223 3
rrset_has_sigover 3 14 81 4
moveover_rrsigs 8 41 250 5
change_rrsig_rrset 10 45 330 8
find_rrset 25 97 647 16
parse_query_section 6 18 121 2
get_rdf_size 13 30 84 1
calc_size 14 51 287 3
skip_ttl_rdata 3 12 62 1
sig_is_double 7 28 170 3
add_rr_to_rrset 15 41 266 6
parse_section 19 76 521 6
parse_packet 9 28 252 3
parse_edns_options 4 20 100 4
parse_extract_edns 16 52 357 3
parse_edns_from_pkt 8 36 247 3
log_edns_opt_list 4 17 105 3
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/msgencode.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
compress_tree_search 4 30 172 6
compress_tree_lookup 6 17 93 4
compress_tree_newnode 2 14 87 4
compress_tree_store 7 34 172 6
write_compressed_dname 6 26 146 4
compress_owner 12 40 288 7
compress_any_dname 5 17 122 5
type_rdata_compressable 3 8 46 1
compress_rdata 10 45 260 6
rrset_belongs_in_reply 14 23 83 4
packed_rrset_encode 22 76 588 12
insert_section 11 45 316 12
insert_query 6 20 164 4
positive_answer 7 19 132 2
reply_info_encode 20 94 664 9
calc_edns_field_size 4 11 71 1
attach_edns_record 6 31 219 2
reply_info_answer_encode 15 41 289 12
qinfo_query_encode 3 18 143 2
error_encode 8 41 309 6
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/packed_rrset.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/dname.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
query_dname_len 7 20 96 1
dname_valid 6 21 90 2
query_dname_compare 11 28 170 2
query_dname_tolower 3 13 56 1
pkt_dname_tolower 9 29 160 2
pkt_dname_len 13 40 201 1
dname_pkt_compare 13 38 245 3
dname_query_hash 3 19 109 2
dname_pkt_hash 4 24 145 3
dname_pkt_copy 4 26 138 3
dname_print 9 28 155 3
dname_count_labels 2 12 44 1
dname_count_size_labels 2 15 64 2
memlowercmp 5 13 90 3
dname_lab_cmp 16 68 340 5
dname_buffer_write 4 17 92 2
dname_str 11 38 189 2
dname_strict_subdomain 3 10 60 4
dname_strict_subdomain_c 1 5 30 2
dname_subdomain_c 3 12 70 2
dname_is_root 1 8 39 1
dname_remove_label 4 12 74 2
dname_remove_labels 2 6 38 3
dname_signame_label_count 5 17 79 1
dname_is_wild 2 4 25 1
memcanoncmp 5 12 74 4
dname_canon_lab_cmp 11 46 236 5
dname_canonical_compare 1 7 48 2
dname_get_shared_topdomain 1 10 71 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/packed_rrset.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ub_packed_rrset_parsedelete 2 12 68 2
ub_rrset_sizefunc 1 8 71 2
packed_rrset_sizeof 2 13 117 1
ub_rrset_compare 11 31 225 2
ub_rrset_key_delete 1 9 66 2
rrset_data_delete 1 5 32 2
rrsetdata_equal 6 15 119 2
rrset_key_hash 1 10 87 1
packed_rrset_ptr_fixup 2 15 134 1
get_cname_target 7 21 160 3
packed_rrset_ttl_add 2 8 54 2
rrset_trust_to_string 14 19 95 1
sec_status_to_string 6 11 47 1
log_rrset_key 2 7 55 3
packed_rr_to_string 5 27 276 5
log_packed_rrset 4 17 117 3
ub_packed_rrset_ttl 1 6 30 1
packed_rrset_copy_region 7 36 274 3
packed_rrset_copy_alloc 4 25 192 3
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/msgparse.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/msgreply.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/msgencode.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/dname.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/data/msgreply.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse_create_qinfo 4 17 131 4
construct_reply_info_base 6 32 274 10
parse_create_repinfo 2 10 69 3
reply_info_alloc_rrset_keys 5 22 157 3
soa_find_minttl 2 7 47 1
rdata_copy 19 69 444 7
parse_rr_copy 5 38 334 3
parse_create_rrset 8 22 153 4
get_rrset_trust 15 32 171 2
parse_copy_decompress_rrset 4 25 210 5
parse_copy_decompress 5 23 168 4
parse_create_msg 6 15 109 6
reply_info_parse 5 27 187 6
reply_info_sortref_cmp 3 8 68 2
reply_info_sortref 1 5 32 1
reply_info_set_ttls 5 16 133 2
reply_info_parsedelete 3 10 58 2
query_info_parse 7 19 135 2
query_info_compare 2 12 97 2
query_info_clear 1 5 22 1
msgreply_sizefunc 1 11 101 2
query_entry_delete 1 7 50 2
reply_info_delete 1 5 32 2
query_info_hash 3 10 86 2
query_info_entrysetup 2 18 191 3
repinfo_copy_rrsets 6 33 257 3
reply_info_copy 6 22 136 3
reply_find_final_cname_target 7 18 135 2
reply_find_answer_rrset 10 22 178 2
reply_find_rrset_section_an 6 15 107 5
reply_find_rrset_section_ns 6 15 113 5
reply_find_rrset 6 15 107 5
log_dns_msg 3 20 133 3
log_reply_info 4 30 240 7
log_query_info 1 5 37 3
reply_check_cname_chain 5 18 126 2
reply_all_rrsets_secure 3 10 59 1
edns_opt_append 5 23 149 5
edns_opt_list_append 5 24 148 5
edns_opt_list_remove 10 22 140 2
inplace_cb_reply_call_generic 3 19 142 8
inplace_cb_reply_call 1 8 62 7
inplace_cb_reply_cache_call 1 9 62 7
inplace_cb_reply_local_call 1 9 62 7
inplace_cb_reply_servfail_call 2 11 72 7
inplace_cb_query_call 2 15 123 9
inplace_cb_edns_back_parsed_call 2 13 81 2
inplace_cb_query_response_call 2 12 88 3
edns_opt_copy_region 6 22 127 2
edns_opt_compare 9 14 126 2
edns_opt_list_compare 8 16 81 2
edns_opt_list_free 2 10 42 1
edns_opt_copy_alloc 6 26 137 1
edns_opt_list_find 3 9 47 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/storage/lookup3.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
hash_set_raninit 1 4 11 1
hashword 6 27 143 3
hashword2 6 29 161 4
hashlittle 61 134 1512 3
hashlittle2 61 139 1566 4
hashbig 45 92 1068 3
driver1 4 15 106 1
driver2 15 62 615 1
driver3 8 80 1136 1
driver4 3 13 93 1
main 1 8 25 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/storage/slabhash.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/storage/dnstree.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
name_tree_compare 3 12 93 2
addr_tree_compare 4 13 101 2
name_tree_init 1 4 16 1
addr_tree_init 1 4 16 1
name_tree_insert 1 11 77 6
addr_tree_insert 1 10 75 5
addr_tree_init_parents 5 20 126 1
name_tree_init_parents 5 20 124 1
name_tree_find 1 11 72 5
name_tree_lookup 6 28 172 5
addr_tree_lookup 7 27 174 3
addr_tree_find 1 12 80 4
name_tree_next_root 9 40 235 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/storage/lruhash.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/storage/slabhash.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
slabhash_create 7 38 264 8
slabhash_delete 4 12 64 1
slabhash_clear 3 8 44 1
slab_idx 1 4 28 2
slabhash_insert 1 5 48 5
slabhash_lookup 1 5 41 4
slabhash_remove 1 4 35 3
slabhash_status 2 11 99 3
slabhash_get_size 2 10 73 1
slabhash_get_mem 2 9 65 1
slabhash_gettable 1 4 25 2
delkey 1 2 24 1
deldata 1 1 14 1
test_slabhash_sizefunc 1 5 31 2
test_slabhash_compfunc 3 10 66 2
test_slabhash_delkey 1 4 25 2
test_slabhash_deldata 1 4 25 2
slabhash_setmarkdel 2 7 44 2
slabhash_traverse 2 7 64 4
count_slabhash_entries 2 10 73 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/storage/dnstree.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/storage/lruhash.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
bin_init 3 10 69 2
lruhash_create 3 34 236 7
bin_delete 3 17 105 2
bin_split 3 25 186 3
lruhash_delete 3 11 67 1
bin_overflow_remove 3 13 69 2
reclaim_space 5 24 185 2
bin_find_entry 4 11 69 4
table_grow 4 29 206 1
lru_front 2 9 56 2
lru_remove 3 9 64 2
lru_touch 3 8 45 2
lruhash_insert 6 46 386 5
lruhash_lookup 4 18 143 4
lruhash_remove 3 33 275 3
bin_clear 3 20 140 2
lruhash_clear 3 18 119 1
lruhash_status 8 32 262 3
lruhash_get_mem 5 18 139 1
lruhash_setmarkdel 1 6 34 2
lruhash_traverse 4 21 163 4
lru_demote 4 18 85 2
lruhash_insert_or_retrieve 6 44 331 5
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/storage/lookup3.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/shm_side/shm_main.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
stat_timeval_subtract 2 11 73 4
shm_main_init 12 63 519 1
shm_main_shutdown 7 16 142 1
shm_main_run 7 43 453 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/shm_side/shm_main.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/ub_event.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/alloc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
alloc_setup_special 1 6 39 1
prealloc_setup 3 16 84 1
prealloc_blocks 3 15 79 2
alloc_init 3 25 169 3
alloc_clear 8 38 228 1
alloc_get_id 2 14 88 1
alloc_special_obtain 6 32 187 1
pushintosuper 4 19 145 2
alloc_special_release 6 20 107 2
alloc_stats 2 5 36 1
alloc_get_mem 4 17 109 1
alloc_reg_obtain 2 11 61 1
alloc_reg_release 3 13 77 2
alloc_set_id_cleanup 1 6 35 3
unbound_stat_malloc 3 12 89 1
unbound_stat_calloc 5 15 126 2
unbound_stat_free 3 15 97 1
unbound_stat_realloc 8 33 238 2
unbound_stat_malloc_log 1 6 42 4
unbound_stat_calloc_log 1 7 52 5
unbound_stat_free_log 3 12 99 4
unbound_stat_realloc_log 1 7 50 5
unbound_stat_malloc_lite 2 11 114 4
unbound_stat_calloc_lite 4 16 143 5
unbound_stat_free_lite 4 25 212 4
unbound_stat_realloc_lite 7 38 300 5
unbound_strdup_lite 2 9 71 4
unbound_lite_wrapstr 1 6 31 1
unbound_lite_pkt2wire 3 19 114 3
unbound_lite_i2d_DSA_SIG 3 15 93 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 22 59 305 3
log_file 1 6 24 1
log_thread_set 1 4 15 1
log_thread_get 3 7 44 1
log_ident_set 1 4 13 1
log_set_time 1 4 12 1
log_set_time_asc 1 4 11 1
log_vmsg 27 65 522 4
log_info 1 7 37 2
log_err 1 7 37 2
log_warn 1 7 37 2
fatal_exit 1 8 42 2
verbose 4 13 85 3
log_hex_f 5 25 216 4
log_hex 1 4 27 3
log_buf 2 6 42 3
wsa_strerror 95 104 606 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/random.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ub_systemseed 1 3 11 1
ub_initstate 2 10 52 2
ub_random 1 4 22 1
ub_random_max 1 5 30 2
ub_systemseed 1 3 11 1
ub_initstate 2 10 58 2
ub_random 2 10 63 1
ub_systemseed 1 4 16 1
ub_initstate 4 25 202 2
ub_random 3 10 60 1
ub_random_max 2 8 54 2
ub_randfree 1 4 14 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/fptr_wlist.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/tube.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
tube_create 5 30 179 1
tube_delete 2 9 41 1
tube_close_read 2 7 34 1
tube_close_write 2 7 34 1
tube_remove_bg_listen 2 9 43 1
tube_remove_bg_write 4 18 90 1
tube_handle_listen 14 61 462 4
tube_handle_write 15 55 367 4
tube_write_msg 13 42 276 4
tube_read_msg 15 60 394 4
pollit 2 11 74 2
tube_poll 1 6 37 1
tube_wait 1 4 19 1
tube_read_fd 1 4 14 1
tube_setup_bg_listen 2 14 80 4
tube_setup_bg_write 2 11 60 2
tube_queue_item 4 21 128 3
tube_handle_signal 1 5 28 3
tube_create 4 21 128 1
tube_delete 3 13 78 1
tube_close_read 1 4 19 1
tube_close_write 2 7 43 1
tube_remove_bg_listen 1 5 23 1
tube_remove_bg_write 3 15 76 1
tube_write_msg 2 12 76 4
tube_read_msg 9 35 209 4
tube_poll 2 10 48 1
tube_wait 3 17 53 1
tube_read_fd 1 4 16 1
tube_handle_listen 1 6 41 4
tube_handle_write 1 6 41 4
tube_setup_bg_listen 3 11 75 4
tube_setup_bg_write 1 5 23 2
tube_queue_item 4 24 155 3
tube_handle_signal 3 15 104 3
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/timehist.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/as112.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/module.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
strextstate 8 13 59 1
strmodulevent 8 13 59 1
edns_known_options_init 2 8 48 1
edns_known_options_delete 1 6 28 1
edns_register_option 6 24 137 4
inplace_cb_register 4 25 151 5
inplace_cb_delete 4 24 118 3
edns_option_is_known 3 8 53 2
edns_bypass_cache_stage 5 10 75 2
unique_mesh_state 6 12 84 2
log_edns_known_options 6 19 140 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/net_help.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
str_is_ip6 2 6 25 1
fd_set_nonblock 6 19 112 1
fd_set_block 8 20 124 1
is_pow2 2 5 29 1
memdup 4 10 59 2
log_addr 7 33 275 4
extstrtoaddr 5 20 140 3
ipstrtoaddr 7 37 288 4
netblockstrtoaddr 10 32 216 5
log_nametypeclass 12 30 253 5
log_name_addr 8 31 270 5
log_err_addr 4 19 189 4
sockaddr_cmp 11 36 274 4
sockaddr_cmp_addr 7 26 198 4
addr_is_ip6 3 7 45 2
addr_mask 4 19 156 3
addr_in_common 7 32 235 5
addr_to_str 3 11 104 4
addr_is_ip4mapped 2 10 102 2
addr_is_broadcast 3 7 72 2
addr_is_any 7 14 128 2
sock_list_insert 3 15 108 4
sock_list_prepend 3 10 52 2
sock_list_find 5 13 69 3
sock_list_merge 3 9 74 3
log_crypto_err 3 12 78 1
listen_sslctx_setup 12 35 173 1
listen_sslctx_setup_2 8 20 98 1
listen_sslctx_create 10 44 239 3
connect_sslctx_create 13 51 277 3
incoming_ssl_fd 4 18 95 2
outgoing_ssl_fd 4 18 95 2
ub_crypto_id_cb 1 4 15 1
ub_crypto_lock_cb 2 9 55 4
ub_openssl_lock_init 4 14 81 1
ub_openssl_lock_delete 4 12 57 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/timehist.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
timestwo 4 13 69 1
dosetup 2 12 85 1
timehist_setup 3 16 88 1
timehist_delete 2 7 28 1
timehist_clear 2 6 38 1
timeval_smaller 4 11 63 2
timehist_insert 3 11 79 2
timehist_print 3 14 117 1
timehist_log 3 19 161 2
timehist_count 2 7 45 1
timehist_quartile 6 24 220 2
timehist_export 4 9 72 3
timehist_import 4 9 71 3
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/config_file.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
config_create 24 195 1335 1
config_create_forlib 2 23 137 1
config_set_option 37 232 1836 3
config_print_func 1 5 34 2
config_collate_func 3 8 54 2
config_get_option_list 3 15 91 3
config_get_option_collate 3 12 79 3
config_collate_cat 7 29 180 1
config_get_option 6 192 1631 4
create_cfg_parser 1 11 62 3
config_read 22 67 407 3
cfg_stub_find 3 11 67 2
config_delstrlist 2 10 42 1
config_deldblstrlist 2 11 49 1
config_deltrplstrlist 2 12 56 1
config_delstub 2 8 42 1
config_delstubs 2 9 35 1
config_delview 2 9 49 1
config_delviews 2 9 35 1
config_del_strarray 3 10 49 2
config_del_strbytelist 2 11 49 1
config_delete 5 65 453 1
init_outgoing_availports 5 16 109 2
cfg_mark_ports 15 38 283 4
cfg_scan_ports 3 10 47 2
cfg_condense_ports 5 17 127 2
ub_c_error_va_list 1 8 48 2
ub_c_error_msg 1 7 33 2
ub_c_error 1 6 31 1
ub_c_wrap 1 4 9 1
cfg_strlist_append 5 17 97 2
cfg_region_strlist_insert 4 15 81 3
cfg_strlist_insert 4 13 76 2
cfg_str2list_insert 5 14 89 3
cfg_str3list_insert 6 16 102 4
cfg_strbytelist_insert 5 16 98 4
cfg_convert_timeval 14 21 203 1
cfg_count_numbers 10 20 106 1
isalldigit 3 8 49 2
cfg_parse_memsize 21 39 316 2
find_tag_id 3 9 57 2
config_add_tag 5 22 143 2
cfg_set_bit 1 7 50 3
config_parse_taglist 6 31 172 3
config_taglist2str 6 20 156 3
taglist_intersect 6 12 73 4
config_apply 1 12 76 1
config_lookup_uid 5 11 63 1
strlen_after_chroot 20 30 246 3
fname_after_chroot 21 38 348 3
next_space_pos 6 10 69 1
last_space_pos 6 10 69 1
cfg_parse_local_zone 13 37 240 2
cfg_ptr_reverse 15 68 508 1
w_lookup_reg_str 10 32 216 2
w_config_adjust_directory 7 18 136 1
errinf 7 23 147 2
errinf_origin 5 19 153 2
errinf_to_str 4 24 207 1
errinf_rrset 3 13 130 2
errinf_dname 4 10 82 3
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/module.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/regional.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/netevent.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
comm_base_create 4 23 180 1
comm_base_create_event 3 15 91 1
comm_base_delete 4 15 84 1
comm_base_delete_no_base 4 14 75 1
comm_base_timept 1 5 38 3
comm_base_dispatch 2 9 44 1
comm_base_exit 2 6 29 1
comm_base_set_slow_accept_handlers 1 7 51 4
comm_base_internal 1 4 16 1
udp_send_errno_needs_log 21 26 119 2
tcp_connect_errno_needs_log 1 4 20 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/alloc.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/netevent.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/mini_event.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mini_ev_cmp 7 18 134 2
settime 2 8 45 1
event_init 8 36 236 2
event_get_version 1 4 10 1
event_get_method 1 4 9 1
handle_timeouts 6 27 212 3
handle_select 14 45 336 2
event_base_dispatch 6 18 86 1
event_base_loopexit 1 6 26 2
event_base_free 2 9 42 1
event_set 1 11 81 5
event_base_set 1 6 29 2
event_add 12 32 292 2
event_del 6 16 164 1
sigh 5 11 69 1
signal_add 4 12 83 2
signal_del 3 8 50 1
mini_ev_cmp 1 4 23 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/random.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/configyyrename.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/rbtree.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rbtree_create 2 10 57 1
rbtree_init 1 6 41 2
rbtree_rotate_left 4 19 114 2
rbtree_rotate_right 4 19 114 2
rbtree_insert_fixup 8 40 279 2
rbtree_insert 6 33 179 2
rbtree_search 2 9 40 2
swap_int8 1 4 29 2
swap_np 1 4 30 2
change_parent_ptr 8 14 108 4
change_child_ptr 4 7 53 3
rbtree_delete 13 50 396 2
rbtree_delete_fixup 29 85 495 3
rbtree_find_less_equal 4 24 118 3
rbtree_first 2 6 36 1
rbtree_last 2 6 36 1
rbtree_next 5 15 83 1
rbtree_previous 5 15 83 1
traverse_post 3 8 68 3
traverse_postorder 1 5 36 3
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/winsock_event.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mini_ev_cmp 7 18 134 2
settime 2 8 45 1
find_fd 3 9 52 2
zero_waitfor 3 8 46 2
event_init 6 36 220 2
event_get_version 1 4 10 1
event_get_method 1 4 9 1
handle_timeouts 6 31 250 3
handle_signal 6 20 129 1
handle_select 60 176 1258 2
event_base_dispatch 6 18 86 1
event_base_loopexit 1 7 33 2
event_base_free 2 10 49 1
event_set 1 12 87 5
event_base_set 1 8 41 2
event_add 25 70 580 2
event_del 12 34 335 1
sigh 5 11 69 1
signal_add 4 12 83 2
signal_del 3 8 50 1
winsock_tcp_wouldblock 3 8 49 2
winsock_register_wsaevent 2 18 137 5
winsock_unregister_wsaevent 5 11 120 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/config_file.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/as112.c
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/tube.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/locks.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ub_thread_blocksigs 8 12 92 1
ub_thread_sig_unblock 8 14 106 1
ub_thr_fork_create 3 15 91 3
ub_thr_fork_wait 3 9 63 1
ub_thread_key_get 1 6 27 1
log_win_err 2 12 79 2
lock_basic_init 1 4 18 1
lock_basic_destroy 1 4 18 1
lock_basic_lock 2 8 33 1
lock_basic_unlock 1 4 18 1
ub_thread_key_create 2 9 51 2
ub_thread_key_set 2 6 32 2
ub_thread_key_get 3 8 46 1
ub_thread_create 2 13 92 3
ub_thread_self 1 4 11 1
ub_thread_join 4 14 71 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/net_help.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/rtt.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
calc_rto 3 9 46 1
rtt_init 1 6 30 1
rtt_timeout 1 4 15 1
rtt_unclamped 2 7 39 1
rtt_update 2 9 63 2
rtt_lost 4 11 56 2
rtt_notimeout 1 4 16 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/rtt.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/regional.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
regional_create 1 4 12 1
regional_init 1 9 63 1
regional_create_custom 2 9 55 1
regional_free_all 3 16 79 1
regional_destroy 2 6 26 1
regional_alloc 5 25 176 2
regional_alloc_init 2 7 48 3
regional_alloc_zero 2 7 43 2
regional_strdup 1 4 33 2
count_chunks 2 10 43 1
count_large 2 10 43 1
regional_log_stats 1 9 68 1
regional_get_mem 1 5 29 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/mini_event.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/winsock_event.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/ub_event.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
void( * NATIVE_BITS_CB(void(*cb)(int,short,void*))) 11 25 113 3
ub_event_get_version 1 4 11 1
ub_ev_backend2str 7 12 52 1
ub_get_event_sys 11 28 179 4
ub_default_event_base 5 17 93 3
ub_libevent_event_base 2 6 23 1
ub_libevent_get_event_base 2 6 23 1
ub_event_base_free 3 6 30 1
ub_event_base_dispatch 1 4 18 1
ub_event_base_loopexit 1 4 20 1
ub_event_new 3 13 111 5
ub_signal_new 3 13 103 4
ub_winsock_register_wsaevent 4 17 115 4
ub_event_add_bits 1 4 24 2
ub_event_del_bits 1 4 24 2
ub_event_set_fd 1 4 21 2
ub_event_free 2 5 21 1
ub_event_add 1 4 25 2
ub_event_del 1 4 18 1
ub_timer_add 2 8 89 5
ub_timer_del 1 4 18 1
ub_signal_add 1 4 25 2
ub_signal_del 1 4 18 1
ub_winsock_unregister_wsaevent 2 6 30 1
ub_winsock_tcp_wouldblock 2 6 35 2
ub_comm_base_now 3 11 64 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/ub_event_pluggable.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
void( * NATIVE_BITS_CB(void(*cb)(int,short,void*))) 11 25 113 3
ub_event_get_version 1 4 10 1
my_event_add_bits 1 4 26 2
my_event_del_bits 1 4 26 2
my_event_set_fd 1 4 23 2
my_event_free 1 4 17 1
my_event_add 1 4 28 2
my_event_del 1 4 21 1
my_timer_add 2 9 100 5
my_timer_del 1 4 21 1
my_signal_add 1 4 28 2
my_signal_del 1 4 21 1
my_winsock_unregister_wsaevent 2 6 33 1
my_winsock_tcp_wouldblock 2 6 38 2
my_event_base_free 3 6 37 1
my_event_base_dispatch 1 4 20 1
my_event_base_loopexit 1 4 27 2
my_event_new 3 16 136 5
my_signal_new 3 16 128 4
my_winsock_register_wsaevent 4 21 140 4
ub_default_event_base 7 25 165 3
ub_libevent_event_base 3 13 75 1
ub_libevent_get_event_base 2 7 34 1
ub_ev_backend2str_pluggable 7 12 52 1
ub_get_event_sys 6 22 135 4
ub_event_base_free 4 8 51 1
ub_event_base_dispatch 3 9 54 1
ub_event_base_loopexit 3 9 56 1
ub_event_new 3 10 85 5
ub_signal_new 3 10 80 4
ub_winsock_register_wsaevent 3 11 81 4
ub_event_add_bits 3 8 54 2
ub_event_del_bits 3 8 54 2
ub_event_set_fd 3 8 54 2
ub_event_free 4 8 51 1
ub_event_add 3 9 61 2
ub_event_del 4 9 56 1
ub_timer_add 3 10 90 5
ub_timer_del 4 9 56 1
ub_signal_add 3 9 61 2
ub_signal_del 4 9 56 1
ub_winsock_unregister_wsaevent 4 9 51 1
ub_winsock_tcp_wouldblock 3 9 54 2
ub_comm_base_now 5 13 82 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/locks.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/rbtree.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/util/fptr_wlist.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fptr_whitelist_comm_point 5 8 54 1
fptr_whitelist_comm_point_raw 5 8 54 1
fptr_whitelist_comm_timer 8 10 82 1
fptr_whitelist_comm_signal 2 5 29 1
fptr_whitelist_start_accept 2 5 27 1
fptr_whitelist_stop_accept 2 5 27 1
fptr_whitelist_event 13 15 141 1
fptr_whitelist_pending_udp 4 7 43 1
fptr_whitelist_pending_tcp 4 7 43 1
fptr_whitelist_serviced_query 3 6 32 1
fptr_whitelist_rbtree_cmp 24 27 274 1
fptr_whitelist_hash_sizefunc 12 13 108 1
fptr_whitelist_hash_compfunc 10 12 97 1
fptr_whitelist_hash_delkeyfunc 10 12 97 1
fptr_whitelist_hash_deldatafunc 11 12 97 1
fptr_whitelist_hash_markdelfunc 3 6 30 1
fptr_whitelist_modenv_send_query 3 9 77 1
fptr_whitelist_modenv_detach_subs 2 6 29 1
fptr_whitelist_modenv_attach_sub 2 7 48 1
fptr_whitelist_modenv_add_sub 2 8 53 1
fptr_whitelist_modenv_kill_sub 2 5 29 1
fptr_whitelist_modenv_detect_cycle 2 7 43 1
fptr_whitelist_mod_init 13 12 109 1
fptr_whitelist_mod_deinit 13 12 109 1
fptr_whitelist_mod_operate 13 13 118 1
fptr_whitelist_mod_inform_super 13 13 114 1
fptr_whitelist_mod_clear 13 13 109 1
fptr_whitelist_mod_get_mem 13 12 109 1
fptr_whitelist_alloc_cleanup 2 5 27 1
fptr_whitelist_tube_listen 3 6 32 1
fptr_whitelist_mesh_cb 5 8 53 1
fptr_whitelist_print_func 4 7 52 1
fptr_whitelist_inplace_cb_reply_generic 13 15 95 2
fptr_whitelist_inplace_cb_query 3 7 26 1
fptr_whitelist_inplace_cb_edns_back_parsed 3 8 26 1
fptr_whitelist_inplace_cb_query_response 3 8 26 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/libunbound/libworker.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/libunbound/unbound-event.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/libunbound/context.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
context_finalize 11 37 285 1
context_query_cmp 3 8 56 2
context_query_delete 2 7 35 1
find_id 3 12 65 2
context_new 6 36 274 6
context_obtain_alloc 6 24 135 2
context_release_alloc 5 14 69 3
context_serialize_new_query 2 14 152 2
context_deserialize_new_query 5 29 267 3
context_lookup_new_query 3 16 105 3
context_serialize_answer 7 21 229 4
context_deserialize_answer 9 37 323 4
context_serialize_cancel 2 9 78 2
context_deserialize_cancel 2 11 84 3
context_serialize_quit 2 9 50 1
context_serial_getcmd 2 8 39 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/libunbound/worker.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/libunbound/libworker.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
libworker_delete_env 4 17 121 1
libworker_delete 2 7 33 1
libworker_delete_event 2 7 33 1
libworker_setup 40 129 1010 3
libworker_create_event 1 5 24 2
handle_cancel 3 16 98 3
libworker_do_cmd 5 19 92 3
libworker_handle_control_cmd 2 11 69 5
libworker_dobg 6 34 207 1
libworker_bg 7 33 190 1
parse_reply 4 16 114 3
fill_canon 1 7 44 2
fill_res 17 49 467 5
libworker_enter_result 8 24 165 4
libworker_fillup_fg 4 20 139 5
libworker_fg_done_cb 1 7 57 5
setup_qinfo_edns 3 22 161 4
libworker_fg 5 37 275 2
libworker_event_done_cb 4 23 178 5
libworker_attach_mesh 6 35 261 3
add_bg_result 8 36 263 5
libworker_bg_done_cb 6 23 176 5
handle_newq 6 42 333 3
libworker_alloc_cleanup 1 6 41 1
libworker_send_query 3 20 167 11
libworker_handle_reply 5 23 169 4
libworker_handle_service_reply 5 20 152 4
worker_handle_control_cmd 1 6 43 5
worker_handle_request 1 7 41 4
worker_handle_reply 1 7 41 4
worker_handle_service_reply 1 7 41 4
remote_accept_callback 1 7 41 4
remote_control_callback 1 7 41 4
worker_sighandler 1 4 22 2
worker_send_query 1 10 85 11
worker_alloc_cleanup 1 4 16 1
worker_stat_timer_cb 1 4 16 1
worker_probe_timer_cb 1 4 16 1
worker_start_accept 1 4 16 1
worker_stop_accept 1 4 16 1
order_lock_cmp 1 5 28 2
codeline_cmp 1 5 28 2
replay_var_compare 1 5 28 2
remote_get_opt_ssl 1 4 23 2
worker_win_stop_cb 1 4 28 3
wsvc_cron_cb 1 4 16 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/libunbound/context.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/libunbound/libunbound.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ub_ctx_create_nopipe 9 63 404 1
ub_ctx_create 4 30 183 1
ub_ctx_create_ub_event 2 10 47 1
ub_ctx_create_event 3 14 67 1
delq 1 5 32 2
ub_stop_bg 7 37 235 1
ub_ctx_delete 10 42 268 1
ub_ctx_set_option 3 14 86 3
ub_ctx_get_option 4 11 87 3
ub_ctx_config 3 14 81 2
ub_ctx_add_ta 4 18 109 2
ub_ctx_add_ta_file 4 18 109 2
ub_ctx_add_ta_autr 4 19 109 2
ub_ctx_trustedkeys 4 18 109 2
ub_ctx_debuglevel 1 8 45 2
ub_ctx_debugout 1 9 53 2
ub_ctx_async 4 13 63 2
ub_poll 1 4 17 1
ub_fd 1 4 17 1
process_answer_detail 8 54 352 7
process_answer 2 12 78 3
ub_process 5 22 111 1
ub_wait 8 43 239 1
ub_resolve 5 37 251 5
ub_resolve_event 8 33 192 7
ub_resolve_async 10 55 338 7
ub_cancel 6 35 223 2
ub_resolve_free 5 16 103 1
ub_strerror 12 17 84 1
ub_ctx_set_fwd 12 65 404 2
ub_ctx_set_stub 16 69 404 4
ub_ctx_resolvconf 22 71 416 2
ub_ctx_hosts 33 88 544 2
ub_ctx_finalize 2 10 49 1
ub_ctx_print_local_zones 2 7 34 1
ub_ctx_zone_add 6 34 212 3
ub_ctx_zone_remove 4 20 126 2
ub_ctx_data_add 3 7 50 2
ub_ctx_data_remove 3 14 82 2
ub_version 1 4 9 1
ub_ctx_set_event 7 19 118 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/libunbound/unbound.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/edns-subnet/subnetmod.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/edns-subnet/addrtree.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/edns-subnet/addrtree.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
edge_create 4 23 187 5
node_create 2 17 108 4
node_size 2 5 50 2
addrtree_create 3 25 180 5
clean_node 2 7 55 2
lru_pop 4 18 114 2
lru_push 2 12 66 2
lru_update 2 6 38 2
purge_node 5 22 158 2
lru_cleanup 9 21 164 1
addrtree_size 2 4 19 1
addrtree_delete 3 18 123 1
getbit 1 6 57 3
cmpbit 1 5 59 3
bits_common 4 11 79 5
issub 1 5 39 5
addrtree_insert 17 92 599 7
addrtree_find 12 33 209 4
unittest_wrapper_addrtree_cmpbit 1 4 27 3
unittest_wrapper_addrtree_bits_common 1 4 37 5
unittest_wrapper_addrtree_getbit 1 4 25 3
unittest_wrapper_addrtree_issub 1 4 37 5
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/edns-subnet/edns-subnet.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/edns-subnet/subnetmod.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
subnet_data_delete 1 8 48 2
msg_cache_sizefunc 1 11 88 2
subnet_new_qstate 2 10 68 2
ecs_opt_list_append 7 31 234 3
ecs_whitelist_check 8 30 228 10
subnetmod_init 6 51 334 2
subnetmod_deinit 3 16 117 2
cp_edns_bad_response 1 8 55 2
delfunc 1 5 46 2
sizefunc 1 6 54 1
get_tree 4 19 113 4
update_cache 12 68 509 2
lookup_and_reply 8 46 357 3
common_prefix 3 5 56 3
eval_response 11 49 343 3
parse_subnet_option 12 27 214 2
subnet_option_from_ss 5 25 163 3
ecs_query_response 5 15 115 4
ecs_edns_back_parsed 6 17 105 3
subnetmod_operate 25 99 674 4
subnetmod_clear 1 4 18 2
subnetmod_inform_super 1 4 26 3
subnetmod_get_mem 2 8 53 2
subnetmod_get_funcblock 1 4 10 1
unittest_wrapper_subnetmod_sizefunc 1 4 14 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/edns-subnet/subnet-whitelist.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ecs_whitelist_create 3 14 63 1
ecs_whitelist_delete 2 7 28 1
upstream_insert 3 13 82 4
upstream_str_cfg 3 16 92 2
read_upstream 3 10 62 2
read_names 6 36 213 2
ecs_whitelist_apply_cfg 3 14 82 2
ecs_is_whitelisted 2 11 73 6
ecs_whitelist_get_mem 2 5 31 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/edns-subnet/edns-subnet.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
copy_clear 7 17 125 5
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/edns-subnet/subnet-whitelist.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/cachedump.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dump_rrset_line 2 8 64 4
dump_rrset 8 19 156 4
dump_rrset_lruhash 3 14 99 3
dump_rrset_cache 4 16 141 2
dump_msg_ref 5 23 167 2
dump_msg 11 47 334 4
copy_msg 4 23 221 4
dump_msg_lruhash 4 19 132 3
dump_msg_cache 4 15 126 2
dump_cache 3 8 47 2
ssl_read_buf 1 5 32 2
read_fixed 2 5 49 3
load_rr 9 48 386 9
move_into_cache 6 53 466 3
load_rrset 18 74 557 3
load_rrset_cache 5 11 83 2
load_qinfo 6 33 232 3
load_ref 6 33 232 6
load_msg 11 54 413 3
load_msg_cache 5 11 83 2
load_cache 3 8 53 2
print_dp_details 27 69 517 3
print_dp_main 8 24 186 3
print_deleg_lookup 14 76 455 5
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/daemon.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
record_sigh 12 20 52 1
signal_handling_record 11 11 72 1
signal_handling_playback 6 12 55 1
daemon_init 21 56 353 1
daemon_open_shared_ports 20 61 419 1
daemon_setup_modules 2 12 83 1
daemon_get_shufport 5 22 135 2
daemon_create_workers 14 45 385 1
close_other_pipes 4 13 84 2
thread_start 5 18 120 1
daemon_start_others 3 11 75 1
daemon_stop_others 3 14 100 1
daemon_fork 22 53 420 1
daemon_cleanup 4 24 157 1
daemon_delete 19 43 270 1
daemon_apply_cfg 7 23 176 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/daemon.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/remote.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/worker.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/acl_list.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
acl_list_create 3 13 63 1
acl_list_delete 2 7 28 1
acl_list_insert 4 15 97 6
acl_list_str_cfg 9 34 209 4
acl_find_or_create 4 20 130 2
acl_list_tags_cfg 3 14 84 4
acl_list_view_cfg 3 14 91 4
acl_list_tag_action_cfg 7 33 219 5
check_data 8 38 245 2
acl_list_tag_data_cfg 9 42 270 5
read_acl_list 4 10 72 2
read_acl_tags 4 18 111 2
read_acl_view 4 17 109 3
read_acl_tag_actions 5 21 126 2
read_acl_tag_datas 5 20 126 2
acl_list_apply_cfg 12 30 205 3
acl_get_control 2 5 21 1
acl_addr_lookup 1 6 35 3
acl_list_get_mem 2 5 31 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/stats.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
stats_timeval_add 2 9 60 4
server_stats_init 1 5 35 2
server_stats_querymiss 2 7 71 2
server_stats_prefetch 2 7 71 2
server_stats_log 2 22 138 3
get_rrset_bogus 4 15 107 2
get_queries_ratelimit 4 15 107 2
get_dnscrypt_cache_miss 4 12 78 2
server_stats_compile 9 51 603 3
server_stats_obtain 5 22 157 4
server_stats_reply 2 9 69 2
server_stats_add 9 58 651 2
server_stats_insquery 16 38 264 6
server_stats_insrcode 5 9 71 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/worker.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
worker_mem_report 18 95 944 2
worker_send_cmd 2 7 60 2
worker_handle_reply 5 26 185 4
worker_handle_service_reply 5 26 195 4
worker_err_ratelimit 3 11 63 2
worker_check_request 11 47 311 2
worker_handle_control_cmd 8 39 205 5
check_delegation_secure 5 20 131 1
deleg_remove_nonsecure_additional 3 17 116 1
answer_norec_from_cache 18 72 531 6
apply_respip_action 9 24 163 7
answer_from_cache 36 119 862 11
reply_and_prefetch 2 9 70 5
chaos_replystr 7 40 346 5
chaos_replyonestr 1 5 41 4
chaos_trustanchor 6 37 305 3
answer_chaos 16 48 324 4
deny_refuse 6 31 208 6
deny_refuse_all 1 5 39 4
deny_refuse_non_local 1 5 39 4
worker_handle_request 84 393 2938 4
worker_sighandler 7 23 99 2
worker_restart_timer 2 9 55 1
worker_stat_timer_cb 3 14 92 1
worker_probe_timer_cb 2 9 65 1
worker_create 8 39 282 4
worker_init 33 143 998 4
worker_work 1 4 16 1
worker_delete 6 32 219 1
worker_send_query 3 20 162 11
worker_alloc_cleanup 1 6 41 1
worker_stats_clear 1 7 48 1
worker_start_accept 2 7 44 1
worker_stop_accept 2 7 44 1
libworker_send_query 1 11 85 11
libworker_handle_reply 1 7 41 4
libworker_handle_service_reply 1 7 41 4
libworker_handle_control_cmd 1 6 43 5
libworker_fg_done_cb 1 6 43 5
libworker_bg_done_cb 1 6 43 5
libworker_event_done_cb 1 6 43 5
context_query_cmp 1 5 28 2
order_lock_cmp 1 5 28 2
codeline_cmp 1 5 28 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/unbound.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 8 36 204 1
replay_var_compare 1 5 28 2
checkrlimits 23 78 537 1
log_ident_set_fromdefault 3 8 44 2
apply_settings 4 16 96 5
readpid 8 31 183 1
writepid 3 14 83 2
checkoldpid 5 12 70 2
detach 10 23 147 1
perform_setup 80 122 1022 5
run_daemon 13 46 303 5
main 15 54 259 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/stats.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/remote.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
timeval_subtract 2 11 69 3
timeval_divide 2 13 88 3
get_dh2048 9 50 669 1
daemon_remote_create 16 77 436 1
daemon_remote_clear 4 19 102 1
daemon_remote_delete 3 9 41 1
add_open 21 66 454 5
daemon_remote_open_ports 9 26 161 1
accept_open 3 16 103 2
daemon_remote_open_accept 3 13 71 3
daemon_remote_stop_accept 2 7 39 1
daemon_remote_start_accept 2 7 45 1
remote_accept_callback 8 64 417 4
state_list_remove_elem 3 10 56 2
clean_point 2 11 65 2
ssl_print_text 4 17 88 2
ssl_print_vmsg 1 6 44 3
ssl_printf 1 9 47 3
ssl_read_line 6 26 143 3
skipwhite 2 6 26 1
send_ok 1 4 18 1
do_stop 1 6 35 2
do_reload 1 6 35 2
do_verbosity 3 10 57 2
print_stats 23 52 628 3
print_thread_stats 1 7 58 3
print_longnum 2 11 87 3
print_mem 19 36 279 3
print_uptime 5 16 173 3
print_hist 4 25 169 2
print_ext 66 128 1335 2
do_stats 10 29 212 3
parse_arg_name 3 23 142 5
find_arg2 6 22 140 3
perform_zone_add 6 36 224 3
do_zone_add 2 6 36 3
do_zones_add 6 16 102 2
perform_zone_remove 3 17 106 3
do_zone_remove 2 6 36 3
do_zones_remove 6 16 102 2
perform_data_add 2 8 44 3
do_data_add 2 6 36 3
do_datas_add 6 16 102 2
perform_data_remove 2 12 70 3
do_data_remove 2 6 36 3
do_datas_remove 6 16 102 2
do_view_zone_add 6 27 170 3
do_view_zone_remove 4 20 117 3
do_view_data_add 5 22 134 3
do_view_data_remove 4 20 117 3
do_lookup 2 10 69 3
do_cache_remove 3 21 159 5
do_flush_type 3 16 100 3
do_flush_stats 1 5 23 2
infra_del_host 3 17 137 2
do_flush_infra 3 29 193 3
do_flush_requestlist 1 5 27 2
zone_del_rrset 3 13 95 2
zone_del_msg 3 12 95 2
zone_del_kcache 3 12 93 2
do_flush_zone 3 29 217 3
bogus_del_rrset 2 9 62 2
bogus_del_msg 2 9 62 2
bogus_del_kcache 2 9 60 2
do_flush_bogus 2 20 159 2
negative_del_rrset 5 11 101 2
negative_del_msg 3 9 71 2
negative_del_kcache 2 9 60 2
do_flush_negative 2 20 159 2
do_flush_name 2 20 188 3
ssl_print_name_dp 10 30 231 5
print_root_fwds 2 9 74 3
parse_delegpt 9 54 296 4
do_forward 7 26 176 3
parse_fs_args 13 38 229 6
do_forward_add 6 25 162 3
do_forward_remove 4 14 103 3
do_stub_add 11 38 265 3
do_stub_remove 4 15 116 3
do_insecure_add 4 18 105 3
do_insecure_remove 3 13 81 3
do_insecure_list 4 13 86 2
do_status 13 29 241 2
get_mesh_age 4 15 108 4
get_mesh_status 10 49 449 4
do_dump_requestlist 7 32 239 2
dump_infra_host 8 41 364 2
do_dump_infra 1 9 71 2
do_log_reopen 1 6 44 2
do_set_option 6 18 147 3
remote_get_opt_ssl 1 5 34 2
do_get_option 2 9 56 3
do_list_forwards 8 21 162 2
do_list_stubs 8 22 189 2
do_list_local_zones 2 18 119 2
do_list_local_data 6 36 266 3
do_view_list_local_zones 3 13 78 3
do_view_list_local_data 3 13 80 3
rate_list 3 15 131 2
ip_rate_list 3 15 128 2
do_ratelimit_list 5 15 118 3
do_ip_ratelimit_list 5 15 118 3
distribute_cmd 5 15 112 3
cmdcmp 4 4 51 3
execute_cmd 63 147 1515 4
daemon_remote_exec 2 12 80 1
handle_req 8 33 236 3
remote_control_callback 12 64 375 4
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/acl_list.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/daemon/cachedump.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_resptype.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_utils.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fetch_fill 3 11 83 2
read_fetch_policy 3 17 100 2
caps_white_apply_cfg 5 30 194 2
iter_apply_cfg 13 33 219 2
iter_filter_unsuitable 20 45 328 7
iter_fill_rtt 7 24 172 9
iter_filter_order 21 77 444 10
iter_server_selection 15 63 362 10
dns_alloc_msg 3 14 97 3
dns_copy_msg 4 14 108 2
iter_dns_store 2 8 63 8
iter_ns_probability 2 8 43 3
causes_cycle 1 15 101 5
iter_mark_cycle_targets 5 19 118 2
iter_mark_pside_cycle_targets 6 22 151 2
iter_dp_is_useless 11 21 136 3
iter_indicates_dnssec_fwd 8 16 108 2
iter_indicates_dnssec 15 33 234 4
iter_msg_has_dnssec 5 12 82 1
iter_msg_from_zone 17 37 289 4
rrset_equal 13 28 231 2
reply_equal 11 23 162 3
caps_strip_reply 7 23 160 1
caps_failed_rcode 2 5 31 1
iter_store_parentside_rrset 2 15 106 2
reply_get_NS_rrset 3 10 60 1
iter_store_parentside_NS 2 8 46 2
iter_store_parentside_neg 8 51 404 3
iter_lookup_parent_NS_from_cache 3 18 124 4
iter_lookup_parent_glue_from_cache 6 30 232 4
iter_get_next_root 6 17 105 3
iter_scrub_ds 6 21 200 3
iter_dec_attempts 4 13 80 2
iter_merge_retry_counts 6 27 170 2
iter_ds_toolow 15 38 297 2
iter_dp_cangodown 4 9 61 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_scrub.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_donotq.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
donotq_create 3 13 63 1
donotq_delete 2 7 28 1
donotq_insert 3 12 82 4
donotq_str_cfg 3 16 92 2
read_donotq 3 10 62 2
donotq_apply_cfg 6 17 95 2
donotq_lookup 1 5 32 3
donotq_get_mem 2 5 31 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_delegpt.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_fwd.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_utils.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_hints.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_hints.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
hints_create 2 8 38 1
hints_stub_free 2 6 28 1
delhintnode 1 5 32 2
hints_del_tree 1 4 22 1
hints_delete 2 7 26 1
ah 5 20 119 3
compile_time_root_prime 30 41 453 2
hints_insert 3 21 136 4
read_stubs_name 4 22 104 1
read_stubs_host 4 22 121 2
read_stubs_addr 4 19 115 2
read_stubs 6 19 138 2
read_root_hints 18 109 662 2
read_root_hints_list 8 17 125 2
hints_apply_cfg 6 20 124 2
hints_lookup_root 2 10 59 2
hints_lookup_stub 7 22 152 4
hints_next_root 1 4 24 2
hints_get_mem 2 11 66 1
hints_add_stub 3 14 111 4
hints_delete_stub 2 12 94 3
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_priv.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
priv_create 3 14 79 1
priv_delete 2 6 28 1
read_addrs 5 27 166 2
read_names 6 35 213 2
priv_apply_cfg 3 13 82 2
priv_lookup_addr 1 5 32 3
priv_lookup_name 2 13 92 5
priv_get_mem 2 5 31 1
remove_rr 6 17 149 7
priv_rrset_bad 13 61 416 3
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_fwd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fwd_cmp 3 13 93 2
forwards_create 2 8 38 1
fwd_zone_free 2 7 35 1
delfwdnode 1 5 32 2
fwd_del_tree 2 6 34 1
forwards_delete 2 7 26 1
forwards_insert_data 4 30 183 6
forwards_insert 1 5 39 3
fwd_init_parents 5 20 127 1
read_fwds_name 4 22 104 1
read_fwds_host 4 22 121 2
read_fwds_addr 4 19 115 2
read_forwards 6 20 140 2
fwd_add_stub_hole 1 10 81 3
make_stub_holes 5 21 119 2
forwards_apply_cfg 4 13 72 2
forwards_find 2 12 92 3
forwards_lookup 7 28 180 3
forwards_lookup_root 1 5 28 2
forwards_next_root 9 40 240 2
forwards_get_mem 2 12 77 1
fwd_zone_find 1 9 71 3
forwards_add_zone 3 12 86 3
forwards_delete_zone 2 9 64 3
forwards_add_stub_hole 2 8 41 3
forwards_delete_stub_hole 3 11 74 3
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_scrub.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
remove_rrset 9 25 208 5
has_additional 9 16 46 1
get_additional_name 11 36 191 5
mark_additional_rrset 8 28 203 3
parse_get_cname_target 4 21 157 3
synth_cname 3 15 113 6
synth_cname_rrset 7 48 421 10
pkt_strict_sub 1 8 58 3
pkt_sub 1 6 41 3
sub_of_pkt 1 6 41 3
scrub_normalize 52 158 955 4
store_rrset 3 21 151 4
soa_in_auth 4 9 50 1
sanitize_nsec_is_overreach 4 19 106 2
scrub_sanitize 29 73 474 6
scrub_message 12 27 210 7
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_resptype.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
response_type_from_cache 11 29 205 2
response_type_from_server 49 98 750 4
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iterator.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
iter_init 3 19 114 2
caps_free 2 7 41 2
iter_deinit 4 17 115 2
iter_new 3 39 257 2
next_state 3 11 47 2
final_state 1 4 19 1
error_supers 8 29 203 3
error_response 2 10 64 3
error_response_cache 6 34 269 3
prepend_is_duplicate 6 14 108 3
iter_prepend 12 44 391 3
iter_find_rrset_in_prepend_answer 4 14 81 2
iter_add_prepend_answer 3 15 92 3
iter_add_prepend_auth 3 15 92 3
handle_cname_response 14 34 281 5
can_have_last_resort 5 17 112 4
is_caps_whitelisted 2 7 61 2
target_count_create 3 8 51 1
target_count_increase 2 6 32 2
generate_sub_request 9 63 436 11
prime_root 6 37 254 4
prime_stub 9 53 373 5
generate_a_aaaa_check 11 36 303 3
generate_ns_check 10 38 304 3
generate_dnskey_prefetch 7 24 188 3
forward_request 6 20 153 2
processInitRequest 50 207 1433 4
processInitRequest2 7 28 174 3
processInitRequest3 9 26 207 3
generate_parentside_target_query 5 35 266 7
generate_target_query 2 10 83 7
query_for_targets 21 68 424 6
processLastResort 41 130 998 4
processDSNSFind 5 26 206 3
processQueryTargets 70 253 1823 4
find_NS 3 9 62 3
processQueryResponse 100 299 2355 3
prime_supers 5 29 198 3
processPrimeResponse 5 31 238 2
processTargetResponse 9 47 336 3
processDSNSResponse 4 18 117 3
processClassResponse 13 78 691 3
processCollectClass 6 32 213 2
processFinished 13 36 285 3
iter_inform_super 7 14 123 3
iter_handle 11 43 216 4
process_request 1 8 52 4
process_response 32 131 899 6
iter_operate 13 38 290 4
iter_clear 5 14 90 2
iter_get_mem 2 8 74 2
iter_get_funcblock 1 4 10 1
iter_state_to_string 10 26 73 1
iter_state_is_responsestate 6 14 39 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_delegpt.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
delegpt_create 2 9 54 1
delegpt_copy 7 28 223 2
delegpt_set_name 1 7 62 3
delegpt_add_ns 3 25 166 4
delegpt_find_ns 4 12 64 3
delegpt_find_addr 4 14 91 3
delegpt_add_target 6 18 128 8
delegpt_add_addr 5 30 187 6
delegpt_count_ns 3 11 69 3
delegpt_count_addr 4 17 113 4
delegpt_log 19 39 351 2
delegpt_add_unused_targets 2 10 50 1
delegpt_count_targets 2 8 41 1
delegpt_count_missing_targets 3 9 48 1
find_NS 3 9 62 3
delegpt_from_message 13 34 272 2
delegpt_rrset_add_ns 6 19 160 4
delegpt_add_rrset_A 4 22 191 4
delegpt_add_rrset_AAAA 4 22 191 4
delegpt_add_rrset 5 14 115 4
delegpt_add_neg_msg 9 17 133 2
delegpt_no_ipv6 3 8 44 1
delegpt_no_ipv4 3 8 44 1
delegpt_create_mlc 4 16 96 1
delegpt_free_mlc 4 22 112 1
delegpt_set_name_mlc 1 7 56 2
delegpt_add_ns_mlc 4 27 172 3
delegpt_add_addr_mlc 5 28 179 5
delegpt_add_target_mlc 6 18 120 7
delegpt_get_mem 3 11 79 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iterator.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_priv.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/iterator/iter_donotq.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/dnscrypt/dnscrypt.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dnsc_shared_secrets_cache_key 1 10 60 4
dnsc_shared_secret_cache_insert 3 24 146 4
dnsc_shared_secrets_lookup 1 6 30 3
dnscrypt_server_uncurve 13 81 423 5
dnscrypt_pad 3 21 144 5
dnscrypt_hrtime 2 13 73 1
add_server_nonce 2 13 105 1
dnscrypt_server_curve 7 54 285 6
dnsc_read_from_file 3 14 75 3
dnsc_chroot_path 4 9 64 2
dnsc_parse_certs 4 24 165 2
dnsc_key_to_fingerprint 3 18 106 2
dnsc_find_cert 4 17 106 2
dnsc_load_local_data 8 39 315 2
key_get_es_version 4 19 124 1
dnsc_parse_keys 9 67 445 2
dnsc_handle_curved_request 4 24 127 2
dnsc_handle_uncurved_request 4 21 107 1
dnsc_create 2 13 76 1
dnsc_apply_cfg 5 28 132 2
dnsc_delete 2 13 66 1
dnsc_shared_secrets_sizefunc 1 9 61 2
dnsc_shared_secrets_compfunc 1 4 22 2
dnsc_shared_secrets_delkeyfunc 1 6 42 2
dnsc_shared_secrets_deldatafunc 1 5 30 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/dnscrypt/dnscrypt.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/dnscrypt/cert.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/cache/rrset.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rrset_markdel 1 5 26 1
rrset_cache_create 3 12 88 2
rrset_cache_delete 2 6 24 1
rrset_cache_adjust 5 11 68 3
rrset_cache_touch 3 12 99 4
need_to_update_rrset 16 30 210 5
rrset_update_id 2 10 74 2
rrset_cache_update 10 36 295 4
rrset_cache_lookup 3 25 192 8
rrset_array_lock 6 16 131 3
rrset_array_unlock 4 9 69 2
rrset_array_unlock_touch 11 25 220 4
rrset_update_sec_status 10 32 248 3
rrset_check_sec_status 9 32 248 3
rrset_cache_remove 1 13 115 6
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/cache/dns.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/cache/infra.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/cache/dns.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
store_rrsets 10 31 266 7
dns_cache_store_msg 4 25 206 8
find_closest_of_type 4 20 117 7
addr_to_additional 2 9 64 4
msg_cache_lookup 3 20 147 8
find_add_addrs 10 47 344 6
cache_fill_missing 8 47 346 4
find_add_ds 6 24 184 5
dns_msg_create 6 29 214 6
dns_msg_authadd 2 9 63 4
dns_msg_ansadd 2 9 63 4
dns_cache_find_delegation 10 36 278 8
gen_dns_msg 6 23 178 3
tomsg 14 49 421 6
rrset_msg 4 26 200 4
synth_dname_msg 11 81 695 4
fill_any 10 42 282 6
dns_cache_lookup 27 100 764 8
dns_cache_store 7 41 307 8
dns_cache_prefetch_adjust 3 17 117 4
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/cache/rrset.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/cache/infra.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
infra_sizefunc 1 6 54 2
infra_compfunc 4 14 110 2
infra_delkeyfunc 2 9 56 2
infra_deldatafunc 1 5 32 2
rate_sizefunc 1 6 54 2
rate_compfunc 3 11 77 2
rate_delkeyfunc 2 9 56 2
rate_deldatafunc 1 5 32 2
domain_limit_findcreate 5 40 238 2
infra_ratelimit_cfg_insert 5 19 123 2
infra_create 6 41 264 1
domain_limit_free 2 7 42 2
infra_delete 2 10 54 1
infra_adjust 4 15 96 2
hash_addr 4 21 177 3
hash_infra 1 4 31 3
infra_lookup_nottl 1 13 116 6
data_entry_init 1 17 109 3
new_entry 4 28 214 6
infra_host 11 55 497 9
infra_set_lame 13 31 244 9
infra_update_tcp_works 3 14 95 5
infra_rtt_update 15 47 351 9
infra_get_host_rto 4 24 209 11
infra_edns_update 8 26 210 7
infra_get_lame_rtt 18 71 457 11
infra_find_ratelimit 7 19 139 3
ip_rate_sizefunc 1 6 50 2
ip_rate_compfunc 1 7 58 2
ip_rate_delkeyfunc 2 8 49 2
infra_find_ratedata 1 11 81 4
infra_find_ip_ratedata 1 12 92 3
infra_create_ratedata 4 26 201 4
infra_ip_create_ratedata 3 22 186 3
infra_rate_find_second 5 17 133 2
infra_rate_max 4 12 83 2
infra_ratelimit_inc 6 27 186 4
infra_ratelimit_dec 4 14 89 4
infra_ratelimit_exceeded 4 17 103 4
infra_get_mem 3 7 58 1
infra_ip_ratelimit_inc 5 27 174 3
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/outbound_list.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/localzone.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/outside_network.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/modstack.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/mesh.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
timeval_subtract 2 10 69 3
timeval_add 2 9 52 2
timeval_divide 2 13 87 3
timeval_smaller 4 11 63 2
client_info_compare 19 30 230 2
mesh_state_compare 20 30 292 2
mesh_state_ref_compare 1 6 50 2
mesh_create 4 31 233 2
mesh_delete_helper 1 5 30 1
mesh_delete 3 10 52 1
mesh_delete_all 2 16 104 1
mesh_make_new_space 9 29 208 2
mesh_new_client 28 104 697 7
mesh_new_callback 19 55 362 8
mesh_new_prefetch 10 45 312 4
mesh_report_reply 3 12 73 4
mesh_state_create 7 68 518 6
mesh_state_is_unique 1 4 16 1
mesh_state_make_unique 1 4 15 1
mesh_state_cleanup 6 29 234 1
mesh_state_delete 9 36 252 1
find_in_subsub 4 11 76 3
mesh_detect_cycle_found 5 13 69 2
mesh_detach_subs 6 21 154 1
mesh_add_sub 7 33 214 7
mesh_attach_sub 7 18 141 6
mesh_state_attachment 6 25 158 2
mesh_do_callback 14 52 474 4
mesh_send_reply 32 97 1009 5
mesh_query_done 7 28 204 1
mesh_walk_supers 1 12 116 2
mesh_area_find 1 16 114 6
mesh_state_add_cb 4 25 160 7
mesh_state_add_reply 12 63 539 6
mesh_continue 14 56 385 4
mesh_run 5 29 245 4
mesh_log_list 9 19 175 1
mesh_stats 2 23 141 2
mesh_stats_clear 2 15 95 1
mesh_get_mem 1 11 82 1
mesh_detect_cycle 2 9 76 5
mesh_list_insert 2 10 57 3
mesh_list_remove 3 10 67 3
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/authzone.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
msg_create 4 23 182 2
msg_grow_array 4 18 147 2
get_rrset_ttl 1 6 30 1
auth_packed_rrset_copy_region 1 14 134 5
msg_ttl 4 13 134 1
msg_rrset_duplicate 6 13 109 5
msg_add_rrset_an 5 20 154 5
msg_add_rrset_ns 5 19 143 5
msg_add_rrset_ar 5 18 132 5
auth_zones_create 2 12 84 1
auth_zone_cmp 3 12 93 2
auth_data_cmp 1 8 64 2
auth_rrset_delete 2 6 28 1
auth_data_delete 3 13 63 1
auth_data_del 1 5 34 2
auth_zone_delete 2 9 55 1
auth_zone_create 4 28 200 4
auth_zone_find 1 11 76 4
auth_zone_find_less_equal 1 11 82 5
auth_zones_find_zone 5 18 129 2
auth_zones_find_or_add_zone 3 17 107 2
auth_zone_set_zonefile 4 14 72 2
auth_zone_set_fallback 3 10 63 2
az_domain_create 4 21 148 3
az_find_name 1 9 67 3
az_find_domain 1 11 83 4
az_domain_find_or_create 2 9 51 3
az_domain_rrset 4 12 57 2
domain_remove_rrset 5 17 91 2
rdata_duplicate 4 11 77 3
rrsig_rdata_get_type_covered 2 6 28 2
rrset_add_rr 10 57 528 5
rrset_create 6 42 325 5
rrsig_num_that_cover 4 15 110 3
rrset_moveover_rrsigs 18 102 890 4
az_domain_add_rr 15 42 295 5
az_insert_rr 4 25 171 4
az_parse_file 13 64 373 5
auth_zone_read_zonefile 9 33 247 1
write_out 4 15 86 2
auth_zone_write_rrset 4 23 195 4
auth_zone_write_domain 8 19 126 3
auth_zone_write_file 3 19 106 2
auth_zones_read_zones 2 16 93 1
auth_zones_cfg_zonefile 4 19 112 2
auth_zones_cfg_fallback 4 19 112 2
auth_zones_apply_config 4 11 59 2
auth_zone_del 1 5 34 2
auth_zones_delete 2 7 41 1
domain_has_only_nsec3 4 14 66 1
az_find_wildcard_domain 2 10 76 3
az_find_wildcard 7 19 119 3
az_find_candidate_ce 4 20 113 3
az_domain_go_up 3 11 71 2
az_find_ce 11 36 213 6
az_add_additionals_from 10 29 228 5
az_add_negative_soa 6 22 238 3
az_empty_nonterminal 8 19 136 3
synth_cname_buf 2 11 77 7
create_synth_cname 9 56 520 7
add_synth_cname 4 21 137 7
az_change_dnames 5 15 133 5
az_find_nsec_cover 4 13 103 2
az_nsec_wildcard_denial 4 23 171 5
az_nsec3_param 10 32 255 5
az_nsec3_hash 5 22 192 8
az_nsec3_hashname 5 24 193 9
az_nsec3_findnode 5 18 120 3
az_nsec3_find_cover 7 21 163 7
az_nsec3_find_exact 3 14 102 7
az_nsec3_get_nextcloser 2 12 87 5
az_nsec3_find_ce 3 14 97 8
az_nsec3_insert 4 10 76 4
az_add_nsec3_proof 9 41 299 9
az_generate_positive_answer 8 16 140 5
az_generate_any_answer 12 27 226 4
follow_cname_chain 11 29 240 5
az_generate_cname_answer 4 10 87 6
az_generate_notype_answer 6 15 129 4
az_generate_referral_answer 8 23 208 5
az_generate_dname_answer 7 19 176 6
az_generate_wildcard_answer 15 45 414 7
az_generate_nxdomain_answer 8 18 168 5
az_generate_answer_with_node 4 16 134 5
az_generate_answer_nonexistnode 9 21 178 7
auth_zone_generate_answer 9 41 367 5
auth_zones_lookup 2 20 138 7
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/view.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
view_cmp 1 6 50 2
views_create 2 11 77 1
view_delete 2 10 50 1
delviewnode 1 5 32 2
views_delete 2 8 41 1
view_create 3 14 104 1
views_enter_view_name 3 19 114 2
views_apply_cfg 14 67 382 2
views_find_view 3 19 127 3
views_print 1 4 14 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/outbound_list.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
outbound_list_init 1 4 15 1
outbound_list_clear 2 11 53 1
outbound_list_insert 2 8 48 2
outbound_list_remove 4 11 71 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/localzone.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
local_zones_create 2 11 77 1
lzdel 1 5 34 2
local_zones_delete 2 8 41 1
local_zone_delete 2 10 50 1
local_zone_cmp 3 12 93 2
local_data_cmp 1 8 64 2
parse_dname 2 11 68 4
local_zone_create 3 23 166 5
lz_enter_zone_dname 3 27 185 6
lz_enter_zone 4 23 141 4
rrstr_get_rr_content 3 25 191 9
get_rr_nameclass 3 22 146 4
local_data_find_type 5 12 83 3
rr_is_duplicate 4 10 69 3
new_local_rrset 4 34 234 4
rrset_insert_rr 7 36 318 6
lz_find_node 1 9 69 4
lz_find_create_node 7 31 205 5
lz_enter_rr_into_zone 17 67 431 2
lz_enter_rr_str 3 26 164 2
lz_enter_zone_tag 4 29 193 5
lz_enter_override 10 68 405 5
lz_enter_zones 3 12 78 2
lz_exists 3 19 129 2
lz_nodefault 8 14 122 2
add_empty_default 6 23 156 3
local_zone_enter_defaults 30 81 441 2
lz_enter_overrides 3 10 65 2
init_parents 6 27 181 1
lz_setup_implicit 11 72 400 2
lz_enter_zone_tags 4 13 86 2
lz_enter_data 3 9 55 2
lz_freeup_cfg 1 9 48 1
local_zones_apply_cfg 7 24 117 2
local_zones_lookup 1 6 47 6
local_zones_tags_lookup 10 33 223 9
local_zones_find 1 11 76 5
local_zone_out 2 12 85 1
local_zones_print 12 62 351 1
local_encode 4 30 251 8
local_error_encode 2 14 112 7
local_data_find_tag_datas 14 72 662 4
find_tag_datas 6 17 120 4
local_data_answer 16 63 503 14
lz_zone_answer 16 39 274 8
lz_inform_print 1 12 126 3
lz_type 7 20 148 12
local_data_find_tag_action 11 30 245 10
local_zones_answer 16 59 461 16
local_zone_type2str 14 19 95 1
local_zone_str2type 13 29 224 2
set_kiddo_parents 5 15 126 3
local_zones_add_zone 3 21 145 6
local_zones_del_zone 1 8 59 2
local_zones_add_RR 4 30 180 2
is_terminal 3 9 68 1
del_empty_term 5 12 88 5
del_local_rrset 5 12 83 2
local_zones_del_data 6 34 251 5
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/view.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/authzone.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/outside_network.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pending_cmp 3 11 98 2
serviced_cmp 9 26 247 2
waiting_tcp_delete 3 7 34 1
pick_outgoing_tcp 9 37 302 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/mesh.h
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/modstack.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
count_modules 9 16 90 1
modstack_init 1 5 21 1
modstack_config 6 30 175 2
module_list_avail 5 14 37 1
module_funcs_avail 5 14 51 1
module_factory 5 18 122 1
modstack_setup 5 22 150 3
modstack_desetup 2 11 85 2
modstack_find 3 9 59 2
mod_get_mem 2 10 82 2
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/listen_dnsport.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
verbose_print_addr 9 22 178 1
systemd_get_activated 11 48 259 6
create_udp_sock 88 292 1738 14
create_tcp_accept_sock 59 143 943 8
create_local_accept_sock 12 50 310 3
make_sock 18 41 325 13
make_sock_port 4 28 259 13
port_insert 2 12 70 3
set_recvpktinfo 12 39 230 2
ports_create_if 28 74 507 16
listen_cp_insert 2 11 64 2
listen_create 20 68 417 8
listen_list_delete 2 10 47 1
listen_delete 5 12 58 1
listening_ports_open 20 85 544 2
listening_ports_free 3 13 60 1
listen_get_mem 4 16 115 1
listen_stop_accept 4 10 59 1
listen_start_accept 4 10 65 1
Source file: /home/sergeyb/sources/src/usr.sbin/unbound/services/listen_dnsport.h
Source file: /home/sergeyb/sources/src/usr.sbin/user/usermgmt.h
Source file: /home/sergeyb/sources/src/usr.sbin/user/user.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
memsave 2 8 70 3
asystem 3 16 90 2
removehomedir 6 29 159 3
checkeuid 2 6 23 1
copydotfiles 9 27 164 2
creategid 16 70 461 3
modify_gid 21 94 583 2
append_group 29 115 784 3
valid_login 10 16 105 1
valid_group 7 13 78 1
valid_class 2 7 35 1
getnextgid 3 9 54 3
save_range 9 30 203 2
setdefaults 20 43 377 1
read_defaults 32 92 943 1
getnextuid 6 15 94 4
scantime 5 19 139 2
expand_len 3 10 57 2
find_user_info 3 12 68 1
find_group_info 3 12 68 1
adduser 57 240 1592 2
rm_user_from_groups 26 93 612 1
is_local 10 28 185 2
moduser 76 320 2086 3
usermgmt_usage 11 54 282 1
useradd 33 119 734 2
usermod 41 126 815 2
userdel 20 69 421 2
groupadd 14 50 272 2
groupdel 7 30 157 2
groupmod 26 80 525 2
userinfo 16 57 375 2
groupinfo 10 43 230 2
Source file: /home/sergeyb/sources/src/usr.sbin/user/main.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 9 21 149 2
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/options.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse_options 6 21 172 1
parse_option_buffer 10 65 415 3
create_priority_list 10 36 260 3
cons_options 19 59 411 9
store_option_fragment 4 15 93 5
store_options 30 86 551 6
do_packet 6 27 193 6
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/conflex.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
new_parse 1 10 46 1
get_char 6 26 121 1
get_token 11 33 175 1
next_token 4 18 75 2
peek_token 4 20 85 2
skip_to_eol 4 11 42 1
read_string 11 21 133 1
read_num_or_name 13 34 214 2
kw_cmp 1 4 34 2
intern 2 9 65 2
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/bootp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
bootp 54 190 1554 1
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/sync.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/db.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
write_lease 30 72 504 1
commit_leases 6 17 87 1
db_startup 3 12 68 1
new_lease_file 1 11 54 1
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/dispatch.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
discover_interfaces 41 148 970 1
dispatch 27 73 475 1
got_one 6 34 218 1
interface_status 9 44 261 1
locate_network 4 19 103 1
add_timeout 12 44 254 3
cancel_timeout 6 19 103 2
add_protocol 2 13 80 4
remove_protocol 4 14 74 1
get_rdomain 3 13 103 1
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/alloc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
new_tree_cache 3 13 69 1
free_tree_cache 1 5 24 1
new_lease_state 3 13 62 1
free_lease_state 1 6 30 2
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 10 48 2
log_procinit 2 5 19 1
log_setverbose 1 4 11 1
log_getverbose 1 4 11 1
logit 1 7 38 3
vlog 3 17 99 3
log_warn 3 21 120 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 41 2
vfatalc 3 17 106 3
fatal 1 8 40 2
fatalx 1 8 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/confpars.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
readconf 4 31 162 1
read_leases 6 30 140 1
parse_statement 56 205 971 5
parse_allow_deny 5 25 102 3
parse_boolean 5 17 92 1
parse_lbrace 2 12 49 1
parse_host_declaration 10 52 338 2
parse_class_declaration 7 37 210 3
parse_shared_net_declaration 11 64 361 2
parse_subnet_declaration 14 76 474 2
parse_group_declaration 5 25 135 2
parse_cidr 7 30 175 3
parse_ip_addr_or_hostname 11 41 230 2
parse_fixed_addr_param 5 20 107 1
parse_option_param 55 214 1168 2
parse_lease_declaration 33 148 721 1
parse_address_range 6 31 220 2
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/print.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_hw_addr 6 22 145 3
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/pfutils.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pftable_handler 19 54 416 0
pf_change_table 6 22 162 4
pf_kill_state 3 24 255 2
atomicio 6 21 116 4
pfmsg 6 19 94 2
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/tree.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/packet.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
checksum 5 15 103 3
wrapsum 1 5 21 1
assemble_hw_header 3 13 119 4
assemble_udp_ip_header 1 31 311 8
decode_hw_header 2 11 92 3
decode_udp_ip_header 23 83 578 3
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/tree.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cons 2 10 49 2
tree_cache 2 12 60 1
tree_const 3 14 95 2
tree_concat 7 32 247 2
tree_limit 4 18 109 2
tree_evaluate 4 27 153 1
tree_evaluate_recurse 5 31 187 4
do_data_copy 3 10 68 5
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/bpf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
if_register_bpf 3 10 69 1
if_register_send 1 4 17 1
if_register_receive 12 37 302 1
send_packet 2 20 172 6
receive_packet 10 64 403 5
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/udpsock.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
udpsock_startup 5 25 206 1
udpsock_handler 12 81 609 1
udpsock_send_packet 1 7 60 6
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/parse.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
skip_to_semi 9 26 142 1
parse_semi 2 12 53 1
parse_string 4 19 96 1
parse_host_name 8 38 248 1
parse_hardware_param 7 40 228 2
parse_lease_time 2 16 83 2
parse_numeric_aggregate 19 65 393 6
convert_num 26 94 486 4
parse_date 14 50 270 1
parse_warn 4 26 175 2
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/dhcpd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 50 153 852 2
usage 1 11 53 1
lease_pinged 6 29 154 3
lease_ping_timeout 2 10 43 1
periodic_scan 11 24 207 1
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/dhcpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/dhcp.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/icmp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
icmp_startup 5 18 135 2
icmp_echorequest 4 26 194 1
icmp_echoreply 5 30 227 1
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/dhcp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dhcp 10 29 114 2
dhcpdiscover 20 67 472 1
dhcprequest 34 82 583 1
dhcprelease 15 70 488 1
dhcpdecline 6 23 153 1
dhcpinform 8 40 295 1
nak_lease 8 96 857 2
ack_lease 116 422 3767 4
dhcp_reply 32 121 1009 1
find_lease 89 211 1267 3
mockup_lease 3 24 169 3
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/memory.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
enter_host 12 45 286 1
find_hosts_by_haddr 1 5 30 3
find_hosts_by_uid 1 4 27 2
find_host_for_network 6 23 144 3
new_address_range 21 104 897 4
find_subnet 3 9 53 1
find_grouped_subnet 3 9 60 2
subnet_inner_than 9 24 213 3
enter_subnet 4 17 87 1
enter_shared_network 1 5 19 1
enter_lease 3 18 108 1
hwaddrcmp 3 5 52 2
uidcmp 2 5 40 2
uid_or_hwaddr_cmp 3 6 46 2
supersede_lease 35 116 792 3
release_lease 2 12 63 1
abandon_lease 1 18 116 2
find_lease_by_ip_addr 1 5 27 1
find_lease_by_uid 1 4 27 2
find_lease_by_hw_addr 1 4 27 2
uid_hash_add 3 13 81 1
uid_hash_delete 6 24 149 1
hw_hash_add 3 14 89 1
hw_hash_delete 6 27 161 1
add_class 8 25 160 2
find_class 2 5 34 3
clone_group 2 9 52 2
write_leases 9 18 106 1
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/sync.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sync_addhost 9 41 291 2
sync_init 22 99 704 3
sync_recv 21 97 709 1
sync_send 7 27 179 2
sync_lease 2 58 543 1
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/hash.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
new_hash 2 10 46 1
do_hash 3 12 73 3
add_hash 4 21 133 4
delete_hash_entry 9 23 171 3
hash_lookup 6 14 115 3
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/inet.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
subnet_number 3 12 89 2
ip_addr 6 28 211 3
host_addr 2 12 106 2
addr_eq 2 6 47 2
piaddr 3 13 83 1
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/convert.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
getULong 1 6 33 1
getUShort 1 6 33 1
putULong 1 5 33 2
putLong 1 5 33 2
putUShort 1 5 34 2
putShort 1 5 33 2
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/dhctoken.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcpd/tables.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
initialize_universes 3 18 126 1
Source file: /home/sergeyb/sources/src/usr.sbin/radiusctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/radiusctl/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse 6 23 142 2
match_token 33 112 577 2
show_valid_args 12 38 166 1
Source file: /home/sergeyb/sources/src/usr.sbin/radiusctl/radiusctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 5 20 1
main 6 25 131 2
radius_test 21 135 959 1
radius_dump 27 109 944 4
radius_code_str 3 23 131 1
hexstr 4 16 136 4
Source file: /home/sergeyb/sources/src/usr.sbin/radiusctl/chap_ms.h
Source file: /home/sergeyb/sources/src/usr.sbin/radiusctl/chap_ms.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
get7bits 1 8 63 2
mschap_des_addparity 1 12 117 2
mschap_des_encrypt 1 9 58 3
mschap_challenge_response 1 10 83 3
mschap_ntpassword_hash 1 8 52 3
mschap_challenge_hash 2 18 125 5
mschap_nt_response 1 11 73 7
mschap_auth_response 2 47 458 8
mschap_masterkey 1 18 151 3
mschap_asymetric_startkey 4 41 482 5
mschap_msk 1 17 146 4
mschap_radiuskey 3 23 219 4
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/irr_parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse_response 12 41 239 2
grow_parsebuf 3 12 65 1
irr_getln 25 68 340 1
parse_policy 56 137 782 2
policy_additem 6 16 133 2
parse_asset 4 12 72 2
parse_route 6 9 88 2
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/irrfilter.h
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/mrtparser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mrt_read_msg 4 14 122 2
mrt_read_buf 5 17 93 3
mrt_parse 59 132 628 3
mrt_parse_v2_peer 15 85 621 2
mrt_parse_v2_rib 16 90 646 2
mrt_parse_dump 18 92 696 4
mrt_parse_dump_mp 33 155 1086 4
mrt_extract_attr 30 126 796 5
mrt_free_peers 1 6 28 1
mrt_free_rib 4 12 108 1
mrt_free_bgp_state 1 4 14 1
mrt_free_bgp_msg 1 5 21 1
mrt_aspath_inflate 6 30 208 3
mrt_extract_addr 7 30 248 4
mrt_parse_state 10 84 562 2
mrt_parse_msg 12 83 544 2
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/irr_asset.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
asset_expand 3 14 102 1
asset_get 12 41 276 1
asset_membertype 8 16 129 1
asset_resolve 5 19 144 1
asset_merge 12 23 205 2
asset_addmember 4 17 142 1
asset_add_as 3 13 96 2
asset_add_asset 3 13 96 2
as_set_compare 1 4 28 2
as_set_find 1 6 32 1
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/irr_prefix.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
prefixset_get 11 27 216 1
prefixset_addmember 10 49 373 1
prefixset_aggregate 12 41 284 1
prefix_aggregate 13 40 353 2
irr_prefix_cmp 10 29 272 2
prefix_set_compare 1 4 28 2
prefix_set_find 1 6 32 1
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/mrtparser.h
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/irr_output.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
write_filters 11 37 284 1
process_policies 2 15 92 2
policy_prettyprint 5 14 102 2
policy_torule 6 20 172 2
action_torule 10 34 241 1
print_rule 10 44 343 4
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse 7 33 227 2
match_token 97 226 1330 3
show_valid_args 30 73 300 1
parse_addr 4 24 169 2
parse_prefix 12 43 302 4
parse_asnum 9 25 198 3
parse_number 12 51 279 3
getcommunity 3 11 67 1
parse_community 16 61 362 2
parsesubtype 5 17 102 3
parseextvalue 8 45 272 2
parseextcommunity 25 98 615 2
getlargecommunity 3 11 67 1
parse_largecommunity 8 31 271 2
parse_nexthop 6 20 151 2
bgpctl_getopt 6 28 170 3
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/bgpctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 25 1
main 127 370 2450 2
fmt_peer 11 21 161 4
show_summary_head 1 5 25 1
show_summary_msg 8 46 316 2
show_summary_terse_msg 4 20 121 2
show_neighbor_terse 3 26 154 1
print_auth_method 7 18 52 1
show_neighbor_msg 42 138 976 2
print_neighbor_capa_mp 4 10 67 1
print_neighbor_capa_restart 8 19 148 1
print_neighbor_msgstats 1 30 260 1
print_timer 2 8 43 2
fmt_timeframe 2 7 32 1
fmt_timeframe_core 4 27 168 1
show_fib_head 1 9 28 1
show_fib_tables_head 1 4 17 1
show_network_head 1 5 16 1
show_fib_flags 12 34 161 1
show_fib_msg 11 38 245 1
show_nexthop_head 1 6 26 1
show_nexthop_msg 17 68 450 1
show_interface_head 1 5 19 1
ift2ifm 5 15 52 1
get_media_descr 3 8 48 1
get_linkstate 3 11 77 2
get_baudrate 4 17 132 2
show_interface_msg 8 25 168 1
show_rib_summary_head 1 8 34 1
print_prefix 2 9 65 3
print_origin 8 13 63 2
print_flags 12 32 164 2
show_rib_summary_msg 3 18 86 1
show_rib_detail_msg 5 26 143 3
show_rib_brief 3 13 118 2
show_rib_detail 4 30 264 4
show_attr 19 85 520 3
show_community 11 41 197 2
show_large_community 4 18 139 2
show_ext_community 13 61 416 2
fmt_mem 2 7 49 1
show_rib_memory_msg 4 49 369 1
send_filterset 2 10 70 2
get_errstr 15 30 158 2
show_result 4 17 103 1
network_bulk 8 49 344 1
show_mrt_dump 16 54 449 3
network_mrt_dump 21 69 619 3
show_mrt_state 1 9 85 2
show_mrt_msg 1 8 75 2
mrt_to_bgpd_addr 4 17 116 2
msg_type 2 6 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/whois.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
whois 16 64 433 2
Source file: /home/sergeyb/sources/src/usr.sbin/bgpctl/irrfilter.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
irr_main 5 20 138 3
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/yp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
yp_disable_events 2 9 58 1
yp_enable_events 4 16 113 1
yp_fd_event 1 6 27 3
yp_init 6 22 160 1
yp_dispatch 30 122 663 2
yp_check 1 6 28 1
yp_valid_domain 3 12 64 2
ypproc_domain_2_svc 2 8 51 2
ypproc_domain_nonack_2_svc 2 8 47 2
ypproc_match_2_svc 23 106 794 2
ypproc_first_2_svc 7 20 164 2
ypproc_next_2_svc 9 60 494 2
ypproc_all_2_svc 2 8 58 2
ypproc_master_2_svc 3 14 110 2
ypproc_maplist_2_svc 4 30 221 2
yp_make_val 3 14 112 3
yp_make_keyval 2 21 179 3
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/ber.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/aldap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
aldap_application 1 4 12 1
aldap_close 3 10 63 1
aldap_init 2 11 70 1
aldap_tls 5 22 147 3
aldap_send 7 29 169 2
aldap_req_starttls 5 21 131 1
aldap_bind 7 26 168 3
aldap_unbind 5 21 122 1
aldap_search 11 46 316 9
aldap_create_page_control 7 31 191 3
aldap_parse 33 91 634 1
aldap_parse_page_control 5 32 226 2
aldap_freepage 1 5 21 1
aldap_freemsg 2 6 27 1
aldap_get_resultcode 1 4 18 1
aldap_get_dn 3 9 48 1
aldap_get_references 2 6 28 1
aldap_free_references 3 9 48 1
aldap_get_diagmsg 3 9 56 1
aldap_count_attrs 4 12 75 1
aldap_first_attr 4 21 156 3
aldap_next_attr 5 25 189 3
aldap_match_attr 8 29 188 3
aldap_free_attr 3 10 55 1
aldap_free_url 1 5 23 1
aldap_parse_url 26 80 528 2
aldap_search_url 4 17 124 5
aldap_get_stringset 9 23 164 1
ldap_parse_search_filter 5 19 104 2
ldap_do_parse_search_filter 41 143 736 2
ldap_debug_elements 57 195 912 1
utoa 7 14 135 1
isu8cont 1 4 21 1
parseval 4 19 130 2
aldap_get_errno 6 24 93 2
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 8 36 1
log_verbose 1 4 11 1
logit 1 7 38 3
vlog 3 15 90 3
log_warn 3 18 111 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 41 2
fatal 3 14 67 1
fatalx 1 5 18 1
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/ber.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ber_get_element 2 9 53 1
ber_set_header 2 7 42 3
ber_link_elements 5 11 57 2
ber_unlink_elements 4 14 70 1
ber_replace_elements 1 9 55 2
ber_add_sequence 2 8 40 1
ber_add_set 2 8 40 1
ber_add_enumerated 9 22 150 2
ber_add_integer 9 22 150 2
ber_get_integer 2 7 36 2
ber_get_enumerated 2 7 36 2
ber_add_boolean 3 10 59 2
ber_get_boolean 2 7 40 2
ber_add_string 1 4 27 2
ber_add_nstring 3 17 104 3
ber_get_string 2 7 35 2
ber_get_nstring 2 8 46 3
ber_add_bitstring 3 17 104 3
ber_get_bitstring 2 8 46 3
ber_add_null 2 8 40 1
ber_get_null 2 6 24 1
ber_add_eoc 2 8 40 1
ber_get_eoc 2 6 24 1
ber_oid2ber 10 22 187 3
ber_string2oid 6 16 151 2
ber_add_oid 5 22 140 2
ber_add_noid 2 9 69 3
ber_add_oidstring 2 7 47 2
ber_get_oid 6 22 182 2
ber_printf_elements 32 101 583 3
ber_scanf_elements 34 115 626 3
ber_write_elements 7 21 155 2
ber_read_elements 5 15 83 2
ber_free_elements 9 13 87 1
ber_calc_len 11 20 151 1
ber_dump_element 15 35 192 2
ber_dump_header 12 35 266 2
ber_putc 2 6 36 2
ber_write 2 6 45 3
get_id 6 26 173 4
get_len 8 32 174 2
ber_read_element 34 97 605 2
ber_readbuf 3 16 93 3
ber_set_readbuf 1 5 38 3
ber_get_writebuf 2 7 43 2
ber_set_application 1 4 27 2
ber_free 1 4 16 1
ber_getc 2 9 53 2
ber_read 7 21 132 3
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/ypldap.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/ldapclient.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
client_aldap_open 5 22 170 1
client_addr_init 7 32 180 1
client_addr_free 2 10 59 1
client_sig_handler 3 11 39 3
client_dispatch_dns 25 85 533 3
client_dispatch_parent 20 75 445 3
client_shutdown 1 5 16 1
ldapclient 13 67 558 1
client_build_req 20 61 500 5
client_search_idm 14 52 330 8
client_try_idm 19 87 572 2
client_periodic_update 3 18 104 3
client_configure 1 17 137 1
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/ypldap_dns.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_sig_handler 3 11 39 3
dns_shutdown 1 5 16 1
ypldap_dns 8 45 338 2
dns_dispatch_imsg 22 72 451 3
host_dns 11 42 327 2
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/ypldap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 26 1
check_child 4 16 84 2
main_sig_handler 7 21 79 3
main_shutdown 1 4 11 1
main_start_update 3 14 95 1
main_trash_update 3 24 138 1
main_create_user_groups 12 65 457 1
main_end_update 6 53 317 1
main_dispatch_client 27 98 606 3
main_configure_client 1 11 98 1
main_init_timer 1 5 26 3
purge_config 2 8 49 1
main 22 102 680 2
imsg_event_add 3 13 95 1
imsg_compose_event 2 9 70 7
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/aldap.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/entries.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
flatten_entries 4 53 351 1
userent_name_cmp 1 4 28 2
userent_uid_cmp 1 4 25 2
groupent_name_cmp 1 4 28 2
groupent_gid_cmp 1 4 25 2
Source file: /home/sergeyb/sources/src/usr.sbin/ypldap/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay6/dispatch.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
iflist_getbyindex 2 10 40 1
iflist_getbyname 2 10 46 1
iflist_getbyaddr6 2 9 51 1
setup_iflist 17 74 618 1
register_interface 5 17 132 2
dispatch 21 67 417 1
got_one 7 27 173 1
interface_status 9 45 263 1
add_protocol 2 13 82 4
remove_protocol 4 15 76 1
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay6/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 10 48 2
log_procinit 2 5 19 1
log_setverbose 1 4 11 1
log_getverbose 1 4 11 1
logit 1 7 38 3
vlog 3 17 99 3
log_warn 3 21 120 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 41 2
vfatalc 3 17 106 3
fatal 1 8 40 2
fatalx 1 8 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay6/packet.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
checksum 5 15 103 3
wrapsum 1 5 21 1
assemble_hw_header 1 9 79 3
assemble_udp_ip6_header 1 29 287 5
decode_hw_header 1 11 91 3
decode_udp_ip6_header 6 55 442 4
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay6/bpf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
if_register_bpf 3 9 64 1
if_register_send 1 4 17 1
if_register_receive 13 41 332 1
send_packet_layer3 4 44 330 4
send_packet 3 19 160 4
receive_packet 10 59 359 4
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay6/dhcrelay6.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 9 27 1
parse_destination 8 25 213 1
main 29 93 510 2
rdaemon 7 25 138 1
s6fromaddr 3 21 144 4
relay6_setup 23 78 600 1
print_hw_addr 6 22 145 3
v6addr2str 2 12 100 1
dhcp6type2str 14 33 96 1
relay6_pushrelaymsg 7 59 467 5
relay6_poprelaymsg 14 81 520 4
rai_configure 5 20 104 2
relay6_logsrcaddr 3 16 106 3
relay6 28 99 562 4
mcast6_recv 10 64 436 1
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay6/dhcpd.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ss2sin6 1 4 19 1
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay6/dhcp.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay6/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/kvm_mkdb/nlist.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
__elf_knlist 48 193 1266 3
create_knlist 3 15 85 3
Source file: /home/sergeyb/sources/src/usr.sbin/kvm_mkdb/extern.h
Source file: /home/sergeyb/sources/src/usr.sbin/kvm_mkdb/kvm_mkdb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 20 68 511 2
kvm_mkdb 14 53 372 6
usage 1 5 21 1
Source file: /home/sergeyb/sources/src/usr.sbin/kvm_mkdb/testdb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
testdb 7 26 200 1
Source file: /home/sergeyb/sources/src/usr.sbin/inetd/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/inetd/inetd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 17 78 453 2
gettcp 13 35 239 3
dg_badinput 14 35 215 1
dg_broadcast 6 19 120 1
reap 13 34 207 3
config 48 198 1243 3
retry 8 18 93 3
die 8 20 110 3
setup 21 67 470 1
register_rpc 6 29 213 1
unregister_rpc 4 12 73 1
enter 2 15 80 1
matchconf 13 24 204 2
setconfig 2 11 56 1
endconfig 3 11 39 1
getconfigent 61 206 1437 1
freeconfig 2 20 124 1
skip 14 32 181 2
nextline 2 7 46 1
newstr 3 7 40 1
dupconfig 9 27 243 1
inetd_setproctitle 3 15 108 2
bump_nofile 4 22 129 1
echo_stream 3 10 67 2
echo_dg 3 14 109 2
discard_stream 3 9 59 2
discard_dg 1 5 33 2
initring 3 8 44 1
chargen_stream 6 26 160 2
chargen_dg 6 29 204 2
machtime 2 7 42 1
machtime_stream 1 6 37 2
machtime_dg 3 15 110 2
daytime_stream 1 8 62 2
daytime_dg 3 17 134 2
print_service 4 19 139 2
spawn 38 130 798 3
Source file: /home/sergeyb/sources/src/usr.sbin/accton/accton.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 5 18 1
main 7 25 116 2
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/mkalias/mkalias.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
split_address 7 31 173 4
check_host 9 19 180 6
capitalize 6 19 105 2
usage 1 6 18 1
main 41 160 1085 2
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/ypxfr/ypxfr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ypxfr_foreach 2 15 99 6
get_local_ordernum 8 46 296 3
get_remote_ordernum 3 13 66 5
get_map 3 11 61 4
create_db 1 4 26 3
install_db 1 8 50 3
add_order 2 18 107 2
add_master 3 19 125 4
add_interdomain 5 22 143 4
add_secure 5 22 143 4
send_clear 2 12 68 1
send_reply 2 14 85 3
usage 1 8 20 1
main 37 147 881 2
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/ypserv/ypserv_proc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ypproc_null_2_svc 2 14 100 2
ypproc_domain_2_svc 4 22 168 2
ypproc_domain_nonack_2_svc 5 24 178 2
ypproc_match_2_svc 7 25 215 2
ypproc_first_2_svc 7 24 199 2
ypproc_next_2_svc 7 25 215 2
ypproc_xfr_2_svc 6 36 329 2
ypproc_clear_2_svc 5 20 122 2
ypproc_all_2_svc 9 33 242 2
ypproc_master_2_svc 8 27 217 2
ypproc_order_2_svc 7 26 208 2
ypproc_maplist_2_svc 17 64 470 2
ypoldproc_null_1_svc 2 14 100 2
ypoldproc_domain_1_svc 4 22 168 2
ypoldproc_domain_nonack_1_svc 5 26 180 2
ypoldproc_match_1_svc 8 39 255 2
ypoldproc_first_1_svc 8 36 251 2
ypoldproc_next_1_svc 8 39 263 2
ypoldproc_poll_1_svc 8 40 270 2
ypoldproc_push_1_svc 8 37 243 2
ypoldproc_pull_1_svc 8 37 243 2
ypoldproc_get_1_svc 8 37 251 2
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/ypserv/ypserv_db.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ypdb_init 1 5 18 1
yp_private 18 29 225 2
ypdb_close_last 3 16 93 1
ypdb_close_all 4 7 29 1
ypdb_close_db 2 5 19 1
ypdb_open_db 36 117 704 4
lookup_host 17 71 583 5
ypdb_get_record 9 38 277 4
ypdb_get_first 5 28 183 3
ypdb_get_next 7 40 262 4
ypdb_get_order 3 24 159 2
ypdb_get_master 3 24 158 2
ypdb_xdr_get_all 12 43 316 2
ypdb_secure 4 16 96 2
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/ypserv/acl.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/ypserv/ypserv.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
_msgout 3 8 43 1
closedown 8 16 101 1
ypprog_1 15 89 591 2
ypprog_2 17 100 670 2
hup 2 14 63 1
my_svc_run 8 35 165 1
usage 1 5 21 1
main 34 136 776 2
sig_child 2 7 30 1
sig_hup 1 4 11 1
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/ypserv/ypserv.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/ypserv/acl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
acl_read_line 12 36 210 3
acl_check_host 3 11 60 1
acl_add_net 3 17 103 3
acl_add_host 1 6 35 2
acl_init 83 226 1300 1
acl_securenet 26 114 626 1
acl_reset 2 9 34 1
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/makedbm/db.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
db_hash_list_database 3 21 181 1
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/makedbm/db.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/makedbm/makedbm.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
read_line 10 24 157 3
add_record 4 20 119 4
file_date 3 19 112 1
list_database 5 23 142 2
create_database 22 103 730 9
usage 1 7 20 1
main 17 77 364 2
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/common/yplib_host.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/common/ypdb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ypdb_open 1 18 132 3
ypdb_open_suf 1 16 110 3
ypdb_close 1 4 20 1
ypdb_fetch 2 17 99 2
ypdb_firstkey 2 15 80 1
ypdb_nextkey 2 15 80 1
ypdb_setkey 2 13 77 2
ypdb_store 4 12 100 4
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/common/yplib_host.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
yp_bind_host 8 44 255 5
yp_bind_local 2 20 119 2
yp_match_host 3 29 223 7
yp_first_host 3 31 255 7
yp_next_host 3 33 278 9
ypserv_xdr_ypresp_all_seq 9 51 338 2
yp_all_host 2 18 109 4
yp_order_host 2 19 131 4
yp_master_host 3 20 143 4
yp_maplist_host 2 15 100 3
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/common/yplog.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
yplog 1 7 33 2
vyplog 2 11 68 2
ypopenlog 3 10 50 1
ypcloselog 2 8 26 1
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/common/yplog.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/common/ypdef.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/common/ypdb.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/yppush/yppush_proc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
yppushproc_null_1_svc 1 5 28 2
yppushproc_xfrresp_1_svc 3 9 64 2
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/yppush/yppush_svc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
_msgout 3 8 43 1
yppush_xfrrespprog_1 8 47 274 2
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/yppush/yppush_err.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
yppush_err_string 17 38 147 1
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/yppush/yppush.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/yppush/yppush.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 6 18 1
my_svc_run 7 33 165 1
req_xfr 4 29 194 5
push 11 54 304 2
pushit 2 8 44 6
main 17 98 611 2
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/revnetgroup/hash.h
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/revnetgroup/revnetgroup.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 5 18 1
main 29 102 554 2
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/revnetgroup/hash.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
hash 11 32 118 2
hashkey 2 6 35 1
lookup 3 11 66 2
ngstore 1 11 79 3
mstore 6 34 231 4
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/revnetgroup/parse_netgroup.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
__setnetgrent 6 13 72 1
__getnetgrent 2 11 68 3
__endnetgrent 3 26 141 1
parse_netgrp 30 68 485 1
read_for_group 23 65 429 1
Source file: /home/sergeyb/sources/src/usr.sbin/ypserv/mknetid/mknetid.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
read_line 10 24 157 3
hashidx 5 12 64 1
add_user 5 30 202 3
add_group 5 19 119 2
read_passwd 20 59 331 2
isgsep 5 12 37 1
read_group 22 66 360 2
print_passwd_group 7 30 156 2
print_hosts 10 38 228 3
print_netid 10 39 229 2
usage 1 7 20 1
main 16 56 298 2
Source file: /home/sergeyb/sources/src/usr.sbin/netgroup_mkdb/str.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
str_init 1 5 21 1
str_append 4 14 113 3
str_prepend 5 15 128 3
str_free 1 6 28 1
Source file: /home/sergeyb/sources/src/usr.sbin/netgroup_mkdb/util.h
Source file: /home/sergeyb/sources/src/usr.sbin/netgroup_mkdb/stringlist.h
Source file: /home/sergeyb/sources/src/usr.sbin/netgroup_mkdb/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
emalloc 2 7 32 1
erealloc 2 7 38 2
get_line 5 22 144 2
Source file: /home/sergeyb/sources/src/usr.sbin/netgroup_mkdb/stringlist.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
_ng_sl_init 3 14 79 1
_ng_sl_add 3 16 102 2
_ng_sl_free 3 9 56 2
_ng_sl_find 3 8 58 2
_ng_parse 11 29 181 3
_ng_makekey 4 13 82 3
_ng_print 1 5 50 3
getnetgroup 6 26 151 1
getstring 12 26 185 3
Source file: /home/sergeyb/sources/src/usr.sbin/netgroup_mkdb/str.h
Source file: /home/sergeyb/sources/src/usr.sbin/netgroup_mkdb/netgroup_mkdb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 19 56 382 2
cleanup 1 6 37 1
ng_load 14 81 459 1
ng_insert 8 36 219 2
ng_reventry 12 64 399 6
ng_reverse 6 26 174 2
ng_print 5 26 168 2
ng_rprint 4 16 89 2
ng_dump 5 24 146 1
ng_rdump 5 23 140 1
ng_write 7 40 249 3
ng_rwrite 7 39 243 3
usage 1 6 26 1
Source file: /home/sergeyb/sources/src/usr.sbin/iscsictl/iscsictl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 25 1
main 26 98 719 2
control_queue 1 4 25 2
run 2 8 46 1
run_command 14 40 211 1
ctl_getpdu 9 40 230 2
ctl_sendpdu 3 16 121 2
show_config 11 37 251 2
show_vscsi_stats 5 28 215 2
Source file: /home/sergeyb/sources/src/usr.sbin/iscsictl/iscsictl.h
Source file: /home/sergeyb/sources/src/usr.sbin/iscsictl/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse 6 23 142 2
match_token 24 62 378 2
show_valid_args 8 23 107 1
parse_addr 3 17 130 2
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/misc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parsekey 4 13 104 2
keycompare 1 4 40 2
error 2 14 87 2
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/mtree.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 49 110 574 2
usage 1 8 23 1
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/mtree.h
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/spec.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
spec 28 93 610 1
set 51 142 868 2
unset 2 6 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/extern.h
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/verify.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
verify 1 8 38 1
vwalk 28 78 476 1
miss 22 55 409 3
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/create.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cwalk 17 52 349 1
statf 46 123 1061 2
statd 29 81 583 5
dsort 4 9 91 2
output 2 13 105 4
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/compare.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
compare 66 251 1649 3
inotype 8 21 78 1
ftype 8 21 76 1
rlink 2 9 65 1
Source file: /home/sergeyb/sources/src/usr.sbin/mtree/crc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
crc 5 24 161 3
Source file: /home/sergeyb/sources/src/usr.sbin/sa/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/sa/usrdb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usracct_init 12 53 287 1
usracct_destroy 2 5 20 1
usracct_add 6 42 279 1
usracct_update 8 44 245 1
usracct_print 7 32 232 1
uid_compare 3 12 73 2
Source file: /home/sergeyb/sources/src/usr.sbin/sa/extern.h
Source file: /home/sergeyb/sources/src/usr.sbin/sa/pdb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pacct_init 12 48 261 1
pacct_destroy 2 5 20 1
pacct_add 5 33 247 1
pacct_update 8 41 222 1
pacct_print 22 73 569 1
check_junk 4 8 66 1
add_ci 1 9 63 2
print_ci 22 81 539 2
Source file: /home/sergeyb/sources/src/usr.sbin/sa/main.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 61 148 709 2
acct_load 22 51 405 2
decode_comp_t 2 9 36 1
cmp_comm 3 8 47 2
cmp_usrsys 3 15 110 2
cmp_avgusrsys 5 17 144 2
cmp_dkio 3 12 93 2
cmp_avgdkio 5 15 138 2
cmp_cpumem 3 12 93 2
cmp_avgcpumem 5 18 155 2
cmp_calls 3 12 93 2
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/relay.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
relay 1 6 43 2
relay_shutdown 1 5 18 1
relay_ruledebug 38 106 539 1
relay_protodebug 9 35 227 1
relay_privinit 7 24 144 1
relay_init 3 13 109 3
relay_session_publish 1 4 28 1
relay_session_unpublish 1 5 32 1
relay_statistics 7 52 431 3
relay_launch 9 47 307 1
relay_socket_af 3 18 103 2
relay_socket_getport 3 12 63 1
relay_socket 27 84 536 5
relay_socket_connect 4 15 101 4
relay_socket_listen 4 15 108 3
relay_connected 16 66 437 3
relay_input 8 37 257 1
relay_write 5 18 115 2
relay_dump 3 9 61 3
relay_read 7 26 180 2
relay_splice 12 40 349 1
relay_splicelen 4 22 145 1
relay_spliceadjust 5 11 72 1
relay_error 24 72 418 3
relay_accept 22 130 1013 3
relay_hash_addr 3 19 121 3
relay_from_table 26 98 687 1
relay_natlook 7 21 161 3
relay_session 11 31 236 1
relay_bindanyreq 1 18 162 3
relay_bindany 3 10 58 3
relay_connect_retry 14 64 457 3
relay_preconnect 2 10 55 1
relay_connect 23 93 664 1
relay_close 20 60 514 2
relay_reset_event 4 24 151 1
relay_dispatch_pfe 25 112 832 3
relay_dispatch_ca 1 4 23 3
relay_dispatch_parent 15 67 360 3
relay_dispatch_hce 1 8 37 3
relay_tls_ctx_create_proto 11 45 292 2
relay_tls_ctx_create 21 102 618 1
relay_tls_inspect_create 7 44 238 2
relay_tls_transaction 9 41 254 2
relay_tls_handshake 12 61 355 3
relay_tls_connected 1 9 73 1
relay_tls_readcb 13 50 328 3
relay_tls_writecb 9 35 228 3
relay_bufferevent_add 2 10 54 2
relay_bufferevent_printf 5 13 93 3
relay_bufferevent_print 2 6 56 2
relay_bufferevent_write_buffer 2 7 46 2
relay_bufferevent_write_chunk 2 9 52 3
relay_bufferevent_write 2 6 52 3
relay_cmp_af 5 29 215 2
relay_load_fd 4 24 133 2
relay_load_certfiles 19 61 475 1
relay_session_cmp 3 8 73 2
relay_log 3 6 41 2
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 10 48 2
log_procinit 2 5 19 1
log_setverbose 1 4 11 1
log_getverbose 1 4 11 1
logit 1 7 38 3
vlog 3 17 99 3
log_warn 3 21 120 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 43 2
vfatalc 3 17 106 3
fatal 1 8 40 2
fatalx 1 8 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/pfe_filter.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
init_tables 9 43 333 1
kill_tables 5 24 174 1
sync_table 15 74 568 3
kill_srcnodes 5 39 301 2
flush_table 7 28 245 2
transaction_init 2 14 137 2
transaction_commit 2 7 43 1
sync_ruleset 28 139 1188 3
flush_rulesets 9 31 190 1
natlook 10 67 669 2
check_table 6 27 216 3
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/relayd.h
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/relay_udp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
relay_udp_privinit 2 6 32 1
relay_udp_init 3 17 79 2
relay_udp_bind 3 13 86 3
relay_udp_socket 17 55 336 3
relay_udp_response 6 27 185 3
relay_udp_server 14 96 764 3
relay_udp_timeout 2 7 39 3
relay_dns_log 3 20 118 3
relay_dns_validate 10 36 257 5
relay_dns_request 12 46 395 1
relay_dns_result 4 20 152 3
relay_dns_cmp 3 8 70 2
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/config.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
config_init 15 85 699 1
config_purge 29 81 625 2
config_setreset 4 12 82 2
config_getreset 1 8 52 2
config_getcfg 8 32 229 2
config_settable 7 29 239 2
config_gettable 4 26 206 2
config_gethost 4 31 255 2
config_setrdr 4 21 153 2
config_getrdr 4 24 211 2
config_getvirt 3 19 153 2
config_setrt 4 20 153 2
config_getrt 3 20 171 2
config_getroute 4 28 231 2
config_setproto 5 23 173 2
config_setrule 7 44 369 2
config_getproto 4 28 204 2
config_getrule 7 36 309 2
config_setrelayfd 3 14 102 6
config_setrelay 29 134 911 2
config_getrelay 10 55 410 2
config_getrelaytable 4 31 230 2
config_getrelayfd 5 31 189 2
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/http.h
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/check_tls.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
check_tls_read 9 44 310 3
check_tls_write 6 35 256 3
check_tls_handshake 8 48 324 3
check_tls_cleanup 1 8 43 1
check_tls_error 2 6 45 3
check_tls 5 21 165 1
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/ca.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ca 1 5 38 2
ca_init 3 8 62 3
hash_x509 4 17 153 3
ca_launch 18 71 511 1
ca_dispatch_parent 6 23 97 3
ca_dispatch_relay 11 53 409 3
rsae_send_imsg 15 70 522 6
rsae_pub_enc 1 5 50 5
rsae_pub_dec 1 5 50 5
rsae_priv_enc 1 6 50 5
rsae_priv_dec 1 6 50 5
rsae_mod_exp 1 5 46 4
rsae_bn_mod_exp 1 6 60 6
rsae_init 2 7 40 1
rsae_finish 2 7 40 1
rsae_sign 1 7 57 6
rsae_verify 1 7 57 6
rsae_keygen 1 5 44 4
ca_engine_init 15 51 290 1
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control_init 9 49 367 2
control_listen 3 14 96 1
control_cleanup 2 7 35 1
control_accept 9 36 282 3
control_connbyfd 2 9 42 1
control_close 3 17 123 2
control_dispatch_imsg 39 172 1302 3
control_imsg_forward 2 9 73 2
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/relay_http.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
relay_http 2 12 90 1
relay_http_init 1 6 32 1
relay_httpdesc_init 2 9 58 1
relay_httpdesc_free 2 17 96 1
relay_read_http 104 314 1745 2
relay_read_httpcontent 12 50 322 2
relay_read_httpchunks 26 101 611 2
relay_reset_http 1 10 53 1
_relay_lookup_url 9 41 245 5
relay_lookup_url 19 56 459 3
relay_lookup_cookie 14 41 280 3
relay_lookup_query 15 40 276 2
relay_http_time 3 8 58 3
relay_abort_http 14 76 410 4
relay_close_http 1 7 45 1
relay_expand_http 18 53 405 4
relay_writerequest_http 10 18 155 2
relay_writeresponse_http 6 14 114 2
relay_writeheader_kv 10 21 155 2
relay_writeheader_http 3 15 103 2
relay_httpmethod_byname 2 11 82 1
relay_httpmethod_byid 3 12 66 1
relay_httpmethod_cmp 1 6 44 2
relay_httperror_byid 1 9 67 1
relay_httperror_cmp 1 6 41 2
relay_httpquery_test 5 16 126 3
relay_httpheader_test 9 25 182 3
relay_httppath_test 9 21 181 3
relay_httpurl_test 10 23 195 3
relay_httpcookie_test 10 35 212 3
relay_match_actions 7 23 178 4
relay_apply_actions 51 179 996 2
relay_test 30 86 601 2
relay_calc_skip_steps 10 27 201 1
relay_match 2 9 55 4
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/snmp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
snmp_init 6 20 131 2
snmp_setsock 4 18 157 2
snmp_getsock 4 20 154 2
snmp_event_add 1 6 50 2
snmp_sock 9 42 207 3
snmp_agentx_process 82 274 1551 3
snmp_register 3 10 70 1
snmp_unregister 3 10 68 1
snmp_element 24 66 417 5
snmp_hosttrap 5 23 237 3
snmp_string2oid 6 16 149 2
sstodata 3 8 60 1
sstolen 3 8 58 1
snmp_rdr_byidx 11 36 197 5
snmp_relay_byidx 11 36 197 5
snmp_router_byidx 11 37 199 5
snmp_netroute_byidx 11 36 197 5
snmp_host_byidx 11 36 198 5
snmp_session_byidx 11 36 190 5
snmp_table_byidx 11 36 197 5
snmp_redirect 27 90 600 7
snmp_relay 32 102 701 7
snmp_router 17 62 405 7
snmp_netroute 16 57 384 7
snmp_host 29 97 623 7
snmp_session 33 119 779 7
snmp_table 12 46 299 7
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/name2id.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
tag_name2id 1 4 20 1
tag_id2name 1 4 18 1
tag_unref 1 4 15 1
tag_ref 1 4 15 1
label_name2id 1 4 20 1
label_id2name 1 4 18 1
label_unref 1 4 15 1
label_ref 1 4 15 1
_name2id 10 35 238 2
_id2name 3 10 56 2
_unref 5 17 100 2
_ref 3 11 50 2
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/carp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
carp_group_find 2 8 44 1
carp_demote_init 7 25 166 2
carp_demote_shutdown 4 11 73 1
carp_demote_get 5 27 175 1
carp_demote_set 7 18 122 2
carp_demote_reset 5 18 102 2
carp_demote_ioctl 6 26 187 2
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/agentx.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
snmp_agentx_alloc 2 11 69 1
snmp_agentx_open 5 21 161 3
snmp_agentx_fdopen 6 16 112 3
snmp_agentx_close 4 13 91 2
snmp_agentx_free 5 17 114 1
snmp_agentx_pdu_alloc 3 21 166 1
snmp_agentx_response 4 14 103 2
snmp_agentx_open_response 2 7 47 2
snmp_agentx_pdu_free 1 6 28 1
snmp_agentx_buffer_consume 2 10 68 2
snmp_agentx_send 8 30 228 2
snmp_agentx_recv 24 84 575 1
snmp_agentx_request 7 17 101 2
agentx_find_inflight 3 8 56 3
snmp_agentx_buffercheck 5 18 145 2
snmp_agentx_open_pdu 6 24 160 3
snmp_agentx_close_pdu 3 15 98 2
snmp_agentx_notify_pdu 3 13 79 1
snmp_agentx_response_pdu 3 16 100 3
snmp_agentx_ping_pdu 2 9 49 1
snmp_agentx_register_pdu 6 21 144 4
snmp_agentx_unregister_pdu 7 22 151 3
snmp_agentx_get_pdu 5 19 128 2
snmp_agentx_raw 2 10 70 3
snmp_agentx_int 1 4 29 2
snmp_agentx_int64 1 4 29 2
snmp_agentx_octetstring 4 13 105 3
snmp_agentx_oid 10 25 197 2
snmp_agentx_varbind 16 33 195 5
snmp_agentx_read_vbhdr 3 9 64 2
snmp_agentx_copy_raw 1 4 30 3
snmp_agentx_read_raw 1 4 30 3
snmp_agentx_do_read_raw 3 9 63 4
snmp_agentx_read_int 3 8 61 2
snmp_agentx_read_int64 3 8 61 2
snmp_agentx_read_oid 1 5 30 2
snmp_agentx_do_read_oid 5 23 173 3
snmp_agentx_read_searchrange 3 8 58 2
snmp_agentx_read_octetstr 4 15 92 2
snmp_agentx_ping 4 13 85 1
snmp_agentx_update_ids 1 5 34 2
snmp_oid2string 3 13 103 3
snmp_oid_cmp 6 19 123 2
snmp_oid_increment 3 9 54 1
snmp_agentx_type2name 2 26 73 1
snmp_agentx_dump_hdr 3 19 121 1
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/boguskeys.h
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/pfe.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pfe 6 20 165 2
pfe_init 3 8 58 3
pfe_shutdown 1 5 18 1
pfe_setup_events 2 9 64 1
pfe_disable_events 1 4 14 1
pfe_dispatch_hce 12 59 400 3
pfe_dispatch_parent 14 50 209 3
pfe_dispatch_relay 21 95 684 3
show 11 73 698 1
show_sessions 2 10 75 1
disable_rdr 4 20 145 2
enable_rdr 7 28 230 2
disable_table 6 27 233 2
enable_table 6 28 242 2
disable_host 9 39 303 3
enable_host 7 30 244 3
pfe_sync 19 89 724 1
pfe_statistics 7 41 333 3
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/hce.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
hce 1 6 43 2
hce_init 3 9 70 3
hce_setup_events 6 21 138 1
hce_disable_events 4 23 144 1
hce_launch_checks 12 55 382 3
hce_notify_done 18 79 607 2
hce_dispatch_pfe 10 51 362 3
hce_dispatch_parent 7 29 137 3
hce_dispatch_relay 1 8 37 3
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
host_error 35 108 359 1
host_status 4 12 44 1
table_check 8 20 76 1
print_availability 2 9 64 2
print_host 2 9 63 3
print_time 1 12 96 4
printb_flags 8 30 184 2
getmonotime 2 7 36 1
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/relayd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parent_sig_handler 6 19 80 3
usage 1 7 25 1
main 29 121 833 2
parent_configure 5 36 273 1
parent_reload 7 24 140 3
parent_configure_done 5 16 84 1
parent_shutdown 1 12 77 1
parent_dispatch_pfe 9 44 266 3
parent_dispatch_hce 3 20 129 3
parent_dispatch_relay 6 32 186 3
parent_dispatch_ca 2 13 68 3
purge_table 4 20 156 3
purge_key 1 5 24 2
purge_relay 9 38 269 2
kv_add 7 26 186 4
kv_set 3 18 120 3
kv_setkey 2 12 75 3
kv_delete 2 12 78 2
kv_extend 5 14 109 3
kv_purge 2 6 36 1
kv_free 1 6 36 1
kv_inherit 7 23 163 2
kv_log 11 23 174 4
kv_find 4 15 94 2
kv_cmp 1 4 28 2
rule_add 24 69 440 3
rule_inherit 8 25 173 1
rule_free 5 12 81 1
rule_delete 1 6 33 2
rule_settable 5 14 106 2
host_find 2 10 63 2
table_find 2 8 47 2
rdr_find 2 8 47 2
relay_find 2 8 47 2
proto_find 2 8 45 2
session_find 2 10 61 2
route_find 2 8 47 2
router_find 2 8 47 2
host_findbyname 2 10 70 2
table_findbyname 2 8 54 2
table_findbyconf 7 19 180 2
rdr_findbyname 2 8 54 2
relay_findbyname 2 8 54 2
relay_findbyaddr 3 9 75 2
pkey_find 2 8 53 2
pkey_add 4 16 118 3
event_again 2 16 157 7
expand_string 6 29 204 4
translate_string 5 24 95 1
digeststr 3 14 69 4
canonicalize_host 12 36 258 3
parse_url 8 30 245 4
bindany 7 23 157 1
map6to4 4 18 155 1
map4to6 4 19 174 2
socket_rlimit 4 13 94 1
get_string 4 9 66 2
get_data 2 8 47 2
sockaddr_cmp 20 53 578 3
prefixlen2mask 3 8 43 1
prefixlen2mask6 4 15 107 2
accept_reserve 3 15 97 5
parent_tls_ticket_rekey 1 16 124 3
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/pfe_route.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
init_routes 4 12 92 1
sync_routes 4 29 238 2
pfe_route 19 104 924 2
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/shuffle.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
shuffle_init 2 11 75 1
shuffle_generate16 2 17 110 1
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/check_icmp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
icmp_setup 4 13 109 3
icmp_init 1 8 67 1
schedule_icmp 2 9 65 2
check_icmp_add 2 12 125 4
check_icmp 3 11 86 2
icmp_checks_done 5 18 111 1
icmp_checks_timeout 5 19 124 2
send_icmp 22 115 743 3
recv_icmp 12 56 391 3
in_cksum 3 19 112 2
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/check_tcp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
check_tcp 14 60 450 1
tcp_write 4 21 123 3
tcp_close 2 9 53 2
tcp_host_up 9 37 244 1
tcp_send_req 7 33 234 3
tcp_read_buf 11 45 315 3
check_send_expect 3 17 114 1
check_http_code 7 48 305 1
check_http_digest 4 32 212 1
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/proc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
proc_ispeer 3 9 55 3
proc_getid 3 13 75 3
proc_exec 11 52 398 5
proc_connect 9 24 191 1
proc_init 11 42 301 6
proc_accept 4 24 185 4
proc_setup 13 42 451 3
proc_kill 11 30 180 1
proc_open 10 34 319 3
proc_close 6 21 171 1
proc_shutdown 4 11 76 1
proc_sig_handler 7 17 63 3
proc_run 17 64 574 6
proc_dispatch 16 66 439 3
proc_dispatch_null 1 4 23 3
imsg_event_add 3 13 95 1
imsg_compose_event 2 10 75 7
imsg_composev_event 2 10 77 7
proc_range 2 9 57 4
proc_compose_imsg 3 12 106 8
proc_compose 1 5 48 5
proc_composev_imsg 3 11 106 8
proc_composev 1 5 50 5
proc_forward_imsg 1 6 58 4
proc_ibuf 1 6 48 3
proc_iev 1 6 46 3
proc_flush_imsg 6 17 126 3
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/ssl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ssl_init 2 11 41 1
ssl_password_cb 3 11 71 4
ssl_load_key 9 35 246 4
ssl_update_certificate 16 67 472 6
ssl_load_pkey 11 52 303 4
ssl_ctx_fake_private_key 10 49 260 3
Source file: /home/sergeyb/sources/src/usr.sbin/relayd/check_script.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
check_script 4 17 183 2
script_done 5 15 100 2
script_sig_alarm 2 7 30 1
script_exec 11 68 461 2
Source file: /home/sergeyb/sources/src/usr.sbin/apmd/apm-proto.h
Source file: /home/sergeyb/sources/src/usr.sbin/apmd/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/apmd/apmsubr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
battstate 7 19 54 1
ac_state 5 15 42 1
perf_mode 4 13 36 1
Source file: /home/sergeyb/sources/src/usr.sbin/apmd/apmd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sigexit 1 5 16 1
usage 1 7 21 1
error 2 12 74 2
set_driver_messages 2 5 32 2
power_status 16 48 260 3
sockunlink 2 5 18 1
bind_socket 5 22 174 1
handle_client 13 69 388 2
suspend 1 8 37 1
stand_by 1 8 37 1
hibernate 1 8 37 1
main 73 230 1221 2
setperfpolicy 5 21 155 1
do_etc_file 6 32 165 1
Source file: /home/sergeyb/sources/src/usr.sbin/repquota/repquota.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 31 78 514 2
usage 1 6 25 1
repquota 25 75 522 3
oneof 3 8 58 3
hasquota 10 33 245 3
lookup 3 8 61 2
addid 6 27 185 3
timeprt 5 24 149 1
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/rmpproto.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ProcessPacket 12 42 221 2
SendServerID 4 22 161 1
SendFileNo 6 29 217 3
SendBootRepl 13 56 426 3
SendReadRepl 11 63 425 1
BootDone 4 21 138 1
SendPacket 2 12 126 1
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/rmp.h
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/conf.c
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/bpf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
BpfOpen 15 101 889 1
BpfGetIntfName 11 37 262 1
BpfRead 6 36 227 2
BpfWrite 2 8 54 1
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/defs.h
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/rbootd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 34 125 728 2
DoTimeout 3 12 82 1
FindClient 3 9 72 1
Exit 1 6 30 1
DoExit 1 5 18 1
ReConfig 1 4 11 1
DoReConfig 3 9 41 1
DebugOff 1 4 11 1
DoDebugOff 2 6 24 1
DebugOn 1 4 11 1
DoDebugOn 3 7 38 1
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/parseconf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ParseConfig 21 71 379 1
ParseAddr 11 34 215 1
GetBootFiles 10 32 207 1
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/utils.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
DispPkt 11 79 671 2
GetEtherAddr 3 18 100 1
DspFlnm 2 8 61 2
NewClient 2 12 77 1
FreeClients 2 9 33 1
NewStr 2 10 46 1
NewConn 3 18 104 1
FreeConn 3 11 55 1
FreeConns 3 13 54 1
AddConn 2 6 24 1
FindConn 3 9 76 1
RemoveConn 4 20 88 1
Source file: /home/sergeyb/sources/src/usr.sbin/rbootd/rmp_var.h
Source file: /home/sergeyb/sources/src/usr.sbin/ndp/gmt2local.h
Source file: /home/sergeyb/sources/src/usr.sbin/ndp/ndp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 35 98 415 2
file 5 29 240 1
getsocket 5 13 90 1
set 19 66 462 2
get 6 28 209 1
delete 16 56 405 1
dump 44 143 926 2
getnbrinfo 4 18 123 3
ether_str 2 12 99 1
ndp_ether_aton 3 13 115 2
usage 1 8 31 1
rtmsg 16 56 372 1
rtget 9 35 200 2
ifinfo 4 20 170 1
sec2str 12 36 240 1
ts_print 1 7 56 1
Source file: /home/sergeyb/sources/src/usr.sbin/ndp/gmt2local.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
gmt2local 3 18 131 1
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/syslogd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 145 480 3388 2
address_alloc 5 14 171 5
socket_bind 26 92 624 6
klog_readcb 4 13 80 3
udp_readcb 5 17 128 3
unix_readcb 5 14 97 3
reserve_accept4 6 27 204 7
tcp_acceptcb 1 4 25 3
tls_acceptcb 1 4 25 3
acceptcb 20 70 489 4
octet_counting 13 26 186 3
non_transparent_framing 10 20 147 2
tcp_readcb 12 36 294 2
tcp_closecb 7 19 137 3
tcp_socket 4 17 135 1
tcp_dropcb 1 7 50 2
tcp_writecb 3 13 104 2
tcp_errorcb 9 41 325 3
tcp_connectcb 8 48 355 3
tcp_connect_retry 3 17 136 2
tcpbuf_countmsg 3 12 74 1
usage 1 9 24 1
parsepriority 6 19 117 2
printline 6 20 153 2
printsys 6 23 180 1
vlogmsg 3 14 108 4
logline 89 163 1322 4
fprintlog 67 232 1506 3
wallmsg 9 36 235 2
cvthname 4 14 98 3
die_signalcb 1 4 19 3
mark_timercb 1 9 49 3
init_signalcb 1 8 46 3
logevent 1 4 21 2
dropped_warn 3 10 54 2
die 6 27 163 1
init 58 179 1203 1
find_dup 14 32 193 1
cfline 93 263 1864 3
loghost_parse 9 26 177 4
getmsgbufsize 2 13 75 1
decode 6 16 133 2
markit 4 19 120 1
unix_socket 9 46 316 3
double_sockbuf 5 16 120 2
set_sockbuf 3 8 70 1
ctlconn_cleanup 3 14 81 1
ctlsock_acceptcb 8 24 148 3
find_membuf_log 3 10 55 1
ctlconn_readcb 29 113 664 3
ctlconn_writecb 11 43 184 3
tailify_replytext 4 18 104 2
ctlconn_logto 3 15 81 1
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 3 13 69 2
log_procinit 2 5 19 1
log_setverbose 1 4 11 1
log_getverbose 1 4 11 1
logit 1 7 38 3
vlog 1 6 37 3
log_warn 3 19 120 2
log_warnx 1 7 35 2
log_info 1 7 38 3
log_debug 3 18 91 2
log_debugadd 4 20 92 2
vfatalc 3 17 105 3
fatal 1 8 40 2
fatalx 1 8 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/evbuffer_tls.h
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/privsep.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
priv_init 13 46 391 4
priv_exec 53 222 1520 5
open_file 2 6 39 1
open_pipe 18 55 417 1
check_tty_name 7 15 108 2
check_log_name 9 31 174 2
increase_state 4 8 41 1
priv_open_tty 3 17 117 1
priv_open_log 4 20 131 1
priv_open_utmp 4 19 95 1
priv_open_config 4 19 95 1
priv_config_modified 2 10 59 1
priv_config_parse_done 2 8 41 1
priv_getaddrinfo 8 34 330 5
priv_getnameinfo 5 18 138 4
sig_pass_to_chld 2 7 30 1
sig_got_chld 6 11 65 1
may_read 6 19 92 3
must_read 6 18 87 3
must_write 6 18 87 3
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/privsep_fdpass.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_fd 4 33 225 2
receive_fd 7 44 272 1
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/syslogd.h
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/ttymsg.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ttymsg 26 96 583 3
ttycb 7 25 151 3
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/evbuffer_tls.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
bufferevent_add 2 10 54 2
buffertls_readcb 17 63 433 3
buffertls_writecb 13 46 310 3
buffertls_handshakecb 9 37 247 3
buffertls_set 1 9 73 4
buffertls_accept 1 10 81 2
buffertls_connect 1 10 81 2
evtls_read 7 18 145 4
evtls_write 2 9 58 3
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/ringbuf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ringbuf_init 4 13 86 1
ringbuf_free 1 5 21 1
ringbuf_clear 1 4 19 1
ringbuf_used 1 4 30 1
ringbuf_append_line 9 33 303 2
ringbuf_to_string 7 20 167 3
Source file: /home/sergeyb/sources/src/usr.sbin/syslogd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpc/lpc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 8 31 181 2
intr 2 6 21 1
cmdscanner 13 41 207 1
getcmd 8 25 155 1
makeargv 3 13 67 1
help 13 48 305 2
ingroup 6 21 128 1
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpc/lpc.h
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpc/cmds.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
doabort 13 35 217 2
abortpr 15 61 383 1
upstat 6 22 177 1
clean 13 35 215 2
doselect 5 7 55 1
sortq 6 15 141 2
cleanpr 14 54 346 1
unlinkf 2 9 36 1
enable 13 35 215 2
enablepr 5 19 124 1
disable 13 35 215 2
disablepr 7 29 197 1
down 11 33 219 2
putmsg 14 62 458 2
quit 1 4 16 2
restart 13 37 227 2
startcmd 13 35 217 2
startpr 8 26 163 1
status 13 31 206 2
prstat 20 69 464 1
stop 13 35 215 2
stoppr 7 32 209 1
topq 15 58 330 2
touch 1 11 72 1
doarg 21 57 403 1
up 13 35 217 2
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpc/extern.h
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpc/cmdtab.c
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lprm/lprm.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 19 65 407 2
usage 1 7 25 1
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/common_source/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/common_source/lp.local.h
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/common_source/lp.h
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/common_source/common_vars.c
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/common_source/rmjob.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rmjob 22 59 376 1
lockchk 10 35 222 1
process 9 25 148 1
do_unlink 3 10 46 1
chk 23 36 332 1
isowner 7 11 93 2
rmremote 14 55 425 1
alarmer 1 3 7 1
iscf 2 4 31 1
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/common_source/displayq.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
displayq 66 193 1420 1
alarmer 1 3 7 1
nodaemon 2 7 29 1
header 1 7 36 1
inform 14 55 329 2
inlist 9 16 152 2
show 3 9 53 3
blankfill 2 5 19 1
dump 7 24 155 3
ldump 4 18 96 3
prank 3 18 129 1
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/common_source/common.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
getport 15 67 408 2
get_line 7 21 119 1
getq 14 59 358 1
compar 1 6 51 2
checkremote 17 82 572 1
fatal 3 15 94 2
safe_open 6 22 128 3
ckqueue 6 21 126 1
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/common_source/startdaemon.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
startdaemon 11 54 359 1
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/filters/lpf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 42 130 650 2
usage 1 7 26 1
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpr/lpr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 92 234 1413 2
copy 12 33 227 2
linked 11 33 188 1
card 5 16 117 2
nfile 5 22 131 1
cleanup 8 26 135 1
test 11 46 251 1
itoa 2 11 52 1
chkprinter 8 21 186 1
mktemps 11 35 311 1
lmktemp 2 7 48 2
usage 1 10 28 1
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpd/key.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
c_key 1 4 42 2
ksearch 6 26 188 2
f_cbreak 2 12 67 1
f_columns 1 5 28 1
f_dec 1 10 85 1
f_extproc 2 10 60 1
f_ispeed 1 5 30 1
f_nl 2 11 58 1
f_ospeed 1 5 30 1
f_raw 2 11 57 1
f_rows 1 5 28 1
f_sane 1 9 79 1
f_tty 2 7 39 1
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpd/extern.h
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpd/printjob.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
printjob 44 159 1119 1
printit 50 121 769 1
print 60 238 1536 2
sendit 23 53 367 1
sendfile 27 80 581 2
response 2 18 120 1
banner 7 36 334 2
scnline 3 9 51 3
scan_out 13 31 241 3
dropit 9 16 73 1
sendmail 21 75 467 2
delay 3 9 54 1
dofork 7 36 179 1
abortpr 3 11 61 1
init 17 71 663 1
openpr 11 42 253 1
opennet 9 32 175 1
opentty 8 22 117 1
openrem 9 29 177 1
alarmer 1 3 7 1
setty 18 63 448 1
pstatus 4 25 171 2
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpd/lpdchar.c
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpd/allowedhost.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
allowedhost 18 60 366 3
checkhost 6 29 224 3
gethostloop 8 36 285 2
main 4 19 143 2
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpd/lpd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 63 248 1496 2
reapchild 2 8 40 1
mcleanup 2 9 39 1
doit 37 111 587 1
startup 9 30 147 1
chkhost 14 60 423 1
usage 1 7 26 1
socksetup 19 76 481 3
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpd/modes.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
msearch 9 35 254 2
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpd/recvjob.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
recvjob 13 38 277 1
readjob 22 68 440 1
readfile 11 41 245 2
noresponse 3 9 44 1
chksize 4 16 95 1
read_number 3 13 79 1
rcleanup 7 17 106 1
frecverr 1 12 65 2
Source file: /home/sergeyb/sources/src/usr.sbin/lpr/lpq/lpq.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 24 73 426 2
usage 1 8 25 1
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/ntp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ntp_sighdlr 3 9 25 1
ntp_main 94 306 2239 4
ntp_dispatch_imsg 14 37 234 1
ntp_dispatch_imsg_dns 18 80 480 1
peer_add 1 5 24 1
peer_remove 1 6 29 1
priv_adjfreq 6 37 294 1
priv_adjtime 15 66 529 1
offset_compare 3 13 88 2
priv_settime 1 6 35 1
priv_dns 1 6 44 3
update_scale 6 13 75 1
scale_interval 1 7 41 1
error_interval 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 10 48 2
log_procinit 2 5 19 1
log_setverbose 1 4 11 1
log_getverbose 1 4 11 1
logit 1 7 38 3
vlog 3 17 99 3
log_warn 3 21 120 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 43 2
vfatalc 3 17 106 3
fatal 1 8 40 2
fatalx 1 8 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/config.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
host 6 14 94 2
host_v4 3 16 123 1
host_v6 3 24 186 1
host_dns_free 2 9 40 1
host_dns 11 44 338 2
new_peer 2 8 47 1
new_sensor 3 9 62 1
new_constraint 2 9 54 1
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/constraint.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
constraint_init 1 9 50 1
constraint_addr_init 7 31 189 1
constraint_query 10 52 352 1
priv_constraint_msg 10 46 341 5
priv_constraint_readquery 11 33 310 3
priv_constraint_child 20 76 612 3
priv_constraint_check_child 8 28 156 2
priv_constraint_kill 2 9 45 1
constraint_byid 2 9 43 1
constraint_byfd 2 9 43 1
constraint_bypid 2 9 43 1
constraint_close 6 18 123 1
priv_constraint_close 2 14 80 2
constraint_add 1 4 21 1
constraint_remove 2 11 77 1
constraint_purge 1 6 32 1
priv_constraint_dispatch 11 35 237 1
constraint_msg_result 3 24 149 3
constraint_msg_close 6 24 125 3
constraint_msg_dns 11 48 332 3
constraint_cmp 1 4 33 2
constraint_update 6 30 193 1
constraint_reset 2 10 47 1
constraint_check 5 21 120 1
httpsdate_init 12 30 233 6
httpsdate_free 3 16 90 1
httpsdate_request 13 55 356 2
httpsdate_query 3 19 143 8
tls_readline 12 38 231 4
get_string 4 8 58 2
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/ntp.h
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control_init 7 37 260 1
control_listen 3 8 42 1
control_shutdown 1 4 12 1
control_cleanup 2 5 18 1
control_accept 5 23 142 1
control_connbyfd 2 9 40 1
control_close 2 13 78 1
control_dispatch_msg 16 93 676 2
session_socket_nonblockmode 3 9 58 1
build_show_status 3 23 157 1
build_show_peer 16 60 499 2
build_show_sensor 6 27 237 2
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/ntpd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sighdlr 5 15 43 1
usage 2 11 44 1
main 54 176 1139 2
check_child 5 11 60 1
dispatch_imsg 18 57 380 3
reset_adjtime 2 7 34 1
ntpd_adjtime 7 19 126 1
ntpd_adjfreq 8 26 160 2
ntpd_settime 3 22 142 1
readfreq 7 25 146 1
writefreq 5 20 107 1
ctl_main 42 139 746 2
ctl_lookup_option 6 13 82 2
show_status_msg 10 40 262 1
show_peer_msg 11 40 280 2
show_sensor_msg 10 35 235 2
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/ntp_dns.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sighdlr_dns 3 9 25 1
ntp_dns 23 59 440 2
dns_dispatch_imsg 19 57 348 1
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/sensors.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sensor_init 1 4 14 1
sensor_scan 5 17 85 1
sensor_probe 7 29 204 3
sensor_add 9 33 279 2
sensor_remove 1 6 33 1
sensor_query 9 41 355 1
sensor_update 4 21 170 1
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/ntp_msg.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ntp_getmsg 3 10 67 4
ntp_sendmsg 8 24 144 3
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/client.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
set_next 1 6 34 2
set_deadline 1 5 28 2
client_peer_init 2 13 99 1
client_addr_init 6 27 168 1
client_nextaddr 6 19 142 1
client_query 20 59 524 1
client_dispatch 39 156 1410 2
client_update 11 24 201 1
client_log_error 2 11 80 3
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
gettime_corrected 1 4 17 1
getoffset 2 7 47 1
gettime 2 7 37 1
gettime_from_timeval 1 4 31 1
getmonotime 2 7 34 1
d_to_tv 2 9 54 2
lfp_to_d 1 8 60 1
d_to_lfp 1 7 51 1
sfp_to_d 1 8 60 1
d_to_sfp 1 7 51 1
print_rtable 2 8 46 1
log_sockaddr 2 9 52 1
start_child 8 35 229 4
sanitize_argv 4 19 136 2
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/ntpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/ntpd/server.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
setup_listeners 28 100 740 3
server_dispatch 10 46 368 2
Source file: /home/sergeyb/sources/src/usr.sbin/wsconscfg/wsconscfg.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 8 28 1
main 24 86 474 2
Source file: /home/sergeyb/sources/src/usr.sbin/ac/ac.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
file 4 11 68 1
add_tty 4 21 136 1
do_tty 6 17 111 1
update_user 5 20 144 3
main 16 46 218 2
show 1 5 32 2
show_users 2 6 39 1
show_today 4 22 172 3
log_out 8 28 222 2
log_in 7 21 172 2
ac 21 73 486 1
usage 1 7 29 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/npppctl/npppctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 6 20 1
main 14 55 319 2
show_clear_session 17 61 397 2
monitor_session 13 38 250 2
fprint_who_brief 2 13 83 3
fprint_who_packets 2 14 81 3
fprint_who_all 4 46 351 3
clear_session 13 46 354 4
filter_match 14 26 192 2
peerstr 6 30 244 3
humanize_duration 10 28 188 3
humanize_bytes 5 15 122 3
imsg_wait_command_completion 10 17 119 1
Source file: /home/sergeyb/sources/src/usr.sbin/npppctl/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse 6 23 142 2
match_token 33 104 571 2
show_valid_args 11 34 153 1
parse_protocol 5 8 64 1
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/newfs_extern.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/ffs_balloc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ffs_balloc 2 7 55 4
ffs_balloc_ufs1 36 172 1208 4
ffs_balloc_ufs2 36 172 1207 4
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/ffs_alloc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ffs_alloc 8 28 186 5
ffs_blkpref_ufs1 10 28 265 4
ffs_blkpref_ufs2 10 30 269 4
ffs_hashalloc 8 29 216 5
ffs_alloccg 15 61 498 4
ffs_alloccgblk 5 32 246 3
scanc 3 7 60 4
ffs_mapsearch 7 48 396 4
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/ufs_inode.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/buf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
bread 4 22 228 5
brelse 2 12 69 2
bwrite 4 20 136 1
bcleanup 3 13 71 1
getblk 6 34 211 5
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/ffs_extern.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/ffs_tables.c
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/ffs_subr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ffs_isblock 5 20 162 3
ffs_clrblock 5 20 137 3
ffs_setblock 5 20 137 3
ffs_clusteracct 16 63 440 4
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/ufs_bmap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ufs_getlbns 10 46 307 4
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/mkfs.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ffs_mkfs 51 319 2571 3
ffs_write_superblock 4 28 244 2
initcg 34 162 1283 3
ffs_rdfs 4 17 128 4
ffs_wtfs 4 16 125 4
count_digits 2 6 33 1
ilog2 3 8 53 1
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs/buf.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/mkfs_msdos.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mkfs_msdos 173 479 3823 3
getstdfmt 4 12 92 2
getbpbinfo 23 55 360 6
print_bpb 8 23 187 1
ckgeom 3 12 61 3
oklabel 5 10 62 1
mklabel 5 8 66 2
setstr 3 5 34 3
infohandler 1 4 11 1
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/msdosfs_vfsops.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
msdosfs_mount 35 192 1382 2
msdosfs_root 2 11 69 2
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/msdosfs_unicode.c
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/denode.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/msdosfs_vnops.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
msdosfs_times 1 8 77 3
msdosfs_findslot 24 108 624 2
msdosfs_mkfile 8 40 309 3
msdosfs_updatede 2 13 65 1
msdosfs_wfile 13 75 535 3
msdosfs_mkdire 12 82 726 3
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/msdosfs_fat.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fatblock 4 17 132 5
pcbmap 33 121 805 5
fc_lookup 7 17 113 4
fc_purge 3 10 58 2
updatefats 14 53 388 3
usemap_alloc 1 5 35 2
usemap_free 1 5 37 2
clusterfree 3 14 77 3
fatentry 17 67 456 5
fatchain 13 55 361 4
chainlength 8 28 172 3
chainalloc 5 16 118 6
clusteralloc 13 60 491 5
freeclusterchain 11 51 341 2
fillinusemap 12 36 268 1
extendfile 16 65 407 5
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/fat.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/direntry.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/msdosfs_lookup.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
createde 31 132 882 4
readep 5 19 147 5
readde 1 5 41 3
uniqdosname 12 42 272 3
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/msdosfsmount.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/msdosfs_conv.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
unix2dostime 14 46 316 5
unix2dosfn 42 91 644 4
unix2winfn 11 40 322 5
winChkName 25 45 354 4
winChksum 2 8 54 1
winSlotCnt 5 9 56 2
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/mkfs_msdos.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos/msdosfs_denode.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
deget 13 65 434 4
detrunc 20 65 412 3
deextend 8 25 162 2
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/iso9660_rrip.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/iso_rrip.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/cd9660_debug.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_n_tabs 2 6 28 1
debug_print_rrip_info 1 7 28 1
debug_print_susp_attrs 1 12 97 2
debug_print_tree 7 31 210 3
debug_print_path_tree 4 14 75 1
debug_print_volume_descriptor_information 7 27 124 1
debug_dump_to_xml_ptentry 1 12 80 3
debug_dump_to_xml_path_table 3 16 125 4
debug_dump_to_xml 5 37 240 1
debug_dump_to_xml_padded_hex_output 5 19 127 3
debug_get_encoded_number 9 22 98 2
debug_dump_integer 1 5 37 3
debug_dump_string 1 3 20 3
debug_dump_directory_record_9_1 1 28 229 1
debug_dump_to_xml_volume_descriptor 7 106 728 2
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/iso9660_rrip.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cd9660_susp_initialize 9 26 200 4
cd9660_susp_finalize 5 17 110 2
cd9660_susp_finalize_node 4 28 143 2
cd9660_rrip_finalize_node 7 29 144 2
cd9660_susp_handle_continuation_common 11 57 350 3
cd9660_susp_handle_continuation 2 8 50 2
cd9660_susp_initialize_node 3 13 74 2
cd9660_rrip_initialize_inode 9 28 215 1
cd9660_rrip_initialize_node 18 58 424 4
cd9660node_susp_create_node 1 15 125 4
cd9660_rrip_PL 1 6 51 2
cd9660_rrip_CL 1 6 51 2
cd9660_rrip_RE 1 6 51 2
cd9660_createSL 21 115 755 1
cd9660node_rrip_px 1 14 134 2
cd9660node_rrip_pn 2 14 131 2
cd9660node_rrip_nm 1 11 146 2
cd9660node_rrip_tf 1 16 187 2
cd9660_susp_sp 1 9 96 2
cd9660_susp_st 1 8 85 2
cd9660_susp_ce 1 6 51 2
cd9660_susp_pd 1 4 17 2
cd9660_rrip_add_NM 3 25 180 2
cd9660_rrip_NM 1 4 19 1
cd9660_susp_ER 1 30 390 5
cd9660_susp_ES 1 4 18 2
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/cd9660_strings.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cd9660_uppercase_characters 3 8 50 2
cd9660_is_d_char 4 6 33 1
cd9660_is_a_char 6 7 43 1
cd9660_valid_a_chars 4 15 73 1
cd9660_valid_d_chars 4 15 73 1
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/cd9660_write.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cd9660_write_image 8 45 242 2
cd9660_write_volume_descriptors 2 10 54 2
cd9660_write_path_table 5 41 283 4
cd9660_write_path_tables 3 10 55 2
cd9660_write_file 15 70 467 3
cd9660_write_filedata 4 15 117 5
cd9660_write_buffered 1 7 37 4
cd9660_copy_file 6 37 223 4
cd9660_write_rr 7 29 195 5
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/iso.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isonum_711 1 4 13 1
isonum_712 1 4 17 1
isonum_721 2 6 35 1
isonum_722 2 6 36 1
isonum_723 3 6 42 1
isonum_731 2 6 52 1
isonum_732 2 6 53 1
isonum_733 3 6 62 1
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/cd9660_conversion.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cd9660_pad_even 1 5 18 1
cd9660_721 2 5 29 2
cd9660_731 2 5 29 2
cd9660_722 2 5 29 2
cd9660_732 2 5 29 2
cd9660_bothendian_dword 3 10 63 2
cd9660_bothendian_word 3 10 63 2
cd9660_pad_string_spaces 3 8 45 2
cd9660_compute_gm_offset 3 15 128 1
cd9660_time_8426 1 16 119 2
cd9660_time_915 1 12 94 2
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/cd9660_eltorito.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/cd9660_eltorito.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cd9660_add_boot_disk 13 83 463 2
cd9660_eltorito_add_boot_option 10 30 198 3
cd9660_init_boot_catalog_entry 1 4 18 1
cd9660_boot_setup_validation_entry 2 28 207 1
cd9660_boot_setup_default_entry 2 22 161 1
cd9660_boot_setup_section_head 2 14 76 1
cd9660_boot_setup_section_entry 2 15 104 1
cd9660_boot_get_system_type 1 4 12 1
cd9660_setup_boot 14 88 489 2
cd9660_setup_boot_volume_descriptor 1 14 90 2
cd9660_write_mbr_partition_entry 2 25 239 5
cd9660_write_apm_partition_entry 2 32 318 8
cd9660_write_boot 8 69 513 2
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660/cd9660_rrip.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/makefs.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 25 104 605 2
set_option 3 15 97 4
set_option_var 12 43 247 5
get_fstype 3 8 60 1
copy_opts 2 8 58 1
get_tstamp 4 12 57 1
strsuftoll 4 9 76 4
usage 1 10 27 1
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/msdos.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
msdos_prep_opts 1 10 55 1
msdos_cleanup_opts 1 5 22 1
msdos_parse_opts 5 19 148 2
msdos_makefs 9 38 306 4
msdos_populate_dir 11 50 328 5
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cd9660_allocate_cd9660node 1 13 94 1
cd9660_set_defaults 1 27 212 1
cd9660_prep_opts 1 27 159 1
cd9660_cleanup_opts 1 5 22 1
cd9660_arguments_set_string 6 25 132 5
cd9660_parse_opts 17 62 461 2
cd9660_makefs 10 77 456 4
cd9660_finalize_PVD 3 53 363 1
cd9660_populate_iso_dir_record 2 15 139 5
cd9660_setup_root_node 1 5 25 1
cd9660_setup_volume_descriptors 2 35 224 1
cd9660_fill_extended_attribute_record 1 5 26 1
cd9660_translate_node_common 4 20 154 2
cd9660_translate_node 5 15 108 3
cd9660_compare_filename 19 54 264 2
cd9660_sorted_child_insert 5 22 126 2
cd9660_handle_collisions 7 40 231 3
cd9660_rename_filename 17 79 463 4
cd9660_copy_filenames 3 15 95 2
cd9660_sorting_nodes 1 7 33 1
cd9660_sort_nodes 4 16 100 1
cd9660_count_collisions 6 25 140 1
cd9660_rrip_move_directory 6 36 252 2
cd9660_add_dot_records 2 14 78 2
cd9660_convert_structure 23 95 475 6
cd9660_free_structure 2 9 52 1
cd9660_generate_path_table 7 37 248 1
cd9660_compute_full_filename 3 15 85 1
cd9660_level1_convert_filename 14 41 231 5
cd9660_level2_convert_filename 15 47 261 5
cd9660_convert_filename 3 11 72 5
cd9660_compute_record_size 2 10 58 2
cd9660_populate_dot_records 2 27 238 2
cd9660_compute_offsets 9 75 439 3
cd9660_copy_stat_info 2 19 247 3
cd9660_create_virtual_entry 8 38 254 5
cd9660_create_file 3 15 115 4
cd9660_create_directory 3 15 117 4
cd9660_create_special_directory 8 35 221 3
cd9660_add_generic_bootimage 4 19 105 2
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/cd9660.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs.h
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/xmalloc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
emalloc 2 7 34 1
ecalloc 2 7 39 2
erealloc 2 7 40 2
estrdup 2 7 36 1
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/ffs.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ffs_prep_opts 1 33 311 1
ffs_cleanup_opts 1 5 22 1
ffs_parse_opts 8 33 240 2
ffs_makefs 9 55 456 4
ffs_validate 29 77 672 3
ffs_create_image 11 54 339 2
ffs_size_dir 9 33 219 2
ffs_build_dinode1 6 36 320 5
ffs_build_dinode2 6 36 320 5
ffs_populate_dir 20 68 561 3
ffs_write_file 15 80 560 4
ffs_make_dirbuf 4 32 300 3
ffs_write_inode 10 71 583 3
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/walk.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
walk_dir 34 118 771 4
create_fsnode 2 22 180 4
free_fsnodes 11 35 229 1
inode_type 8 21 78 1
link_check 9 48 316 1
Source file: /home/sergeyb/sources/src/usr.sbin/makefs/makefs.h
Source file: /home/sergeyb/sources/src/usr.sbin/eeprom/ophandlers.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
op_handler 18 71 524 2
op_notsupp 1 4 27 3
op_dump 10 47 418 1
op_print 2 14 74 1
Source file: /home/sergeyb/sources/src/usr.sbin/eeprom/optree.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
op_print 24 64 431 2
op_nodes 12 45 352 3
op_tree 2 8 52 1
Source file: /home/sergeyb/sources/src/usr.sbin/eeprom/defs.h
Source file: /home/sergeyb/sources/src/usr.sbin/eeprom/main.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 17 58 266 2
action 4 12 85 1
dump_prom 1 5 15 1
usage 1 7 20 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/iso_cksum.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
iso_cksum 6 27 151 3
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 10 48 2
log_procinit 2 5 19 1
log_setverbose 1 4 11 1
log_getverbose 1 4 11 1
logit 1 7 38 3
vlog 3 17 99 3
log_warn 3 21 120 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 41 2
vfatalc 3 17 106 3
fatal 1 8 40 2
fatalx 1 8 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/hello.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_hello 15 62 432 1
recv_hello 34 98 749 5
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/ospfe.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ospfe_sig_handler 3 10 37 3
ospfe 19 93 722 4
ospfe_shutdown 3 28 174 1
ospfe_imsg_compose_parent 1 4 38 4
ospfe_imsg_compose_rde 1 6 41 5
ospfe_dispatch_main 44 160 1023 3
ospfe_dispatch_rde 82 226 1406 3
find_vlink 4 16 111 1
orig_rtr_lsa_all 2 7 36 1
orig_rtr_lsa 2 7 41 1
orig_rtr_lsa_area 42 158 1055 1
orig_net_lsa 7 45 376 1
orig_link_lsa 13 74 556 1
ospfe_router_id 1 4 15 1
ospfe_fib_update 4 10 43 1
ospfe_iface_ctl 3 14 96 2
ospfe_nbr_ctl 2 18 127 1
ospfe_demote_area 4 14 98 2
ospfe_demote_iface 4 17 108 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control_init 6 36 245 1
control_listen 2 12 78 1
control_cleanup 2 7 33 1
control_accept 9 34 268 3
control_connbyfd 2 9 42 1
control_connbypid 2 9 42 1
control_close 3 17 116 1
control_dispatch_imsg 33 92 577 3
control_imsg_relay 2 8 76 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/logmsg.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_in6addr 1 10 72 1
log_in6addr_scope 1 10 78 2
log_rtr_id 2 12 74 1
log_sockaddr 2 12 79 1
nbr_state_name 10 25 92 1
if_state_name 8 21 76 1
if_type_name 6 16 59 1
dst_type_name 3 10 35 1
path_type_name 5 14 51 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/rde.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rde_sig_handler 3 10 37 3
rde 12 71 537 4
rde_shutdown 2 21 121 1
rde_imsg_compose_ospfe 1 6 41 5
rde_dispatch_imsg 84 303 2063 3
rde_dispatch_parent 48 181 1192 3
rde_dump_area 1 12 101 3
rde_router_id 1 4 15 1
rde_send_change_kroute 6 30 199 1
rde_send_delete_kroute 1 9 62 1
rde_send_summary 2 22 148 1
rde_send_summary_area 3 20 149 2
rde_nbr_init 5 21 161 1
rde_nbr_free 1 5 18 1
rde_nbr_find 2 11 52 1
rde_nbr_new 5 24 182 2
rde_nbr_del 2 9 41 1
rde_nbr_loading 7 22 110 1
rde_nbr_self 2 9 46 1
rde_req_list_add 2 10 79 2
rde_req_list_exists 4 11 74 2
rde_req_list_del 4 13 85 2
rde_req_list_free 2 8 49 1
rde_asext_get 4 25 152 1
rde_asext_put 1 4 19 1
rde_summary_update 14 27 218 2
append_prefix_lsa 2 17 122 3
prefix_compare 4 18 121 2
prefix_tree_add 7 30 237 2
orig_intra_lsa_net 13 60 486 3
orig_intra_lsa_rtr 20 77 562 2
orig_intra_area_prefix_lsas 5 21 152 1
comp_asext 2 9 97 2
orig_asext_lsa 7 51 446 2
orig_sum_lsa 5 24 214 4
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/ospf6.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/rde_spf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
spf_calc 24 108 716 1
rt_calc 26 126 987 3
asext_calc 17 77 528 1
spf_tree_clr 1 9 45 1
calc_nexthop_clear 2 8 47 1
calc_nexthop_add 3 12 87 4
calc_nexthop_lladdr 5 24 151 3
calc_nexthop_transit_nbr 7 20 141 3
calc_nexthop 9 39 225 4
cand_list_init 1 4 12 1
cand_list_add 5 15 96 1
cand_list_pop 2 8 42 1
cand_list_present 2 9 41 1
cand_list_clr 2 7 37 1
spf_timer 8 47 241 3
start_spf_timer 6 22 92 1
stop_spf_timer 2 5 27 1
start_spf_holdtimer 6 19 88 1
rt_init 1 4 12 1
rt_compare 6 16 115 2
rt_find 1 8 53 3
rt_insert 2 10 58 1
rt_remove 2 11 63 1
rt_invalidate 11 30 202 1
rt_nexthop_clear 2 8 49 1
rt_nexthop_add 4 31 213 3
rt_clear 2 6 32 1
rt_dump 13 52 300 3
rt_update 25 71 443 11
rt_lookup 7 18 119 2
get_rtr_link 6 27 197 2
get_net_link 4 16 112 2
linked 14 44 244 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/interface.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
if_fsm 16 57 374 2
if_init 1 5 20 1
if_find 2 9 42 1
if_findname 2 9 46 1
if_new 4 23 165 2
if_update 5 17 102 6
if_del 6 18 149 1
if_start 2 12 104 2
if_hello_timer 2 10 65 3
if_start_hello_timer 2 7 40 1
if_stop_hello_timer 2 5 27 1
if_wait_timer 1 5 28 3
if_start_wait_timer 2 8 48 1
if_stop_wait_timer 2 5 27 1
if_act_start 15 56 299 1
if_elect 4 10 74 2
if_act_elect 43 89 705 1
if_act_reset 11 50 260 1
if_to_ctl 7 60 530 1
if_set_recvbuf 2 8 40 1
if_join_group 7 29 152 2
if_leave_group 7 29 156 2
if_set_mcast 7 23 113 1
if_set_mcast_loop 2 11 56 1
if_set_ipv6_pktinfo 2 9 49 2
if_set_ipv6_checksum 2 11 64 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/name2id.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rtlabel_name2id 1 4 20 1
rtlabel_id2name 1 4 18 1
rtlabel_id2tag 1 4 18 1
rtlabel_tag2id 1 4 18 1
rtlabel_tag 1 4 20 2
rtlabel_unref 1 4 15 1
_name2id 10 35 238 2
_id2name 3 10 56 2
_id2tag 3 10 56 2
_tag2id 3 10 56 2
_tag 3 9 50 3
_unref 5 17 100 2
_ref 3 11 50 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/lsack.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_ls_ack 5 20 134 4
recv_ls_ack 14 38 195 3
lsa_hdr_check 11 28 149 2
ls_ack_list_add 5 17 118 2
ls_ack_list_free 1 7 43 2
ls_ack_list_clr 2 10 62 1
ls_ack_list_empty 1 4 20 1
ls_ack_tx_timer 13 52 327 3
start_ls_ack_tx_timer 2 8 50 1
start_ls_ack_tx_timer_now 2 7 40 1
stop_ls_ack_tx_timer 2 5 27 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/rde.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/carp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
carp_group_find 2 8 44 1
carp_demote_init 7 25 162 2
carp_demote_shutdown 4 11 73 1
carp_demote_get 4 21 140 1
carp_demote_set 7 18 118 2
carp_demote_ioctl 5 21 154 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/packet.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
gen_ospf_hdr 2 13 98 3
upd_ospf_hdr 3 11 83 2
send_packet 6 24 166 4
recv_packet 22 105 646 3
ospf_hdr_sanity_check 12 44 280 4
find_iface 6 22 128 3
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/lsupdate.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lsa_flood 30 81 501 4
prepare_ls_update 6 23 153 2
add_ls_update 4 20 149 5
send_ls_update 2 17 116 4
recv_ls_update 17 54 301 3
ls_retrans_list_add 5 21 159 4
ls_retrans_list_del 5 13 104 2
ls_retrans_list_get 4 11 86 2
ls_retrans_list_insert 2 17 101 2
ls_retrans_list_remove 8 21 163 2
ls_retrans_list_free 1 6 35 2
ls_retrans_list_clr 2 7 43 1
ls_retrans_timer 18 74 523 3
lsa_cache_init 4 13 99 1
lsa_hash_hdr 1 4 25 1
lsa_cache_add 4 24 193 2
lsa_cache_get 2 8 35 1
lsa_cache_put 3 11 78 2
lsa_cache_look 2 11 76 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/control.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/ospf6d.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main_sig_handler 5 16 62 3
usage 1 8 26 1
main 26 129 827 2
ospfd_shutdown 9 28 177 1
main_dispatch_ospfe 22 66 361 3
main_dispatch_rde 17 51 284 3
main_imsg_compose_ospfe 2 6 43 4
main_imsg_compose_rde 2 6 43 4
imsg_event_add 2 9 73 1
imsg_compose_event 2 9 70 7
ospf_redistribute 28 64 383 2
ospf_reload 6 19 142 1
ospf_sendboth 3 8 78 3
merge_config 17 72 509 2
merge_interfaces 12 57 422 2
iface_lookup 2 8 50 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/area.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
area_new 2 10 68 1
area_del 5 20 148 1
area_find 2 10 55 2
area_track 5 12 71 2
area_border_router 2 9 48 1
area_ospf_options 3 7 32 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/ospfe.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
embedscope 3 14 105 1
recoverscope 3 14 100 1
addscope 3 10 54 2
clearscope 2 7 36 1
mask2prefixlen 11 39 175 1
prefixlen2mask 3 12 80 1
inet6applymask 4 13 118 3
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/neighbor.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
nbr_fsm 27 95 547 2
nbr_init 5 24 186 1
nbr_new 5 47 368 5
nbr_del 6 20 158 1
nbr_find_peerid 2 11 52 1
nbr_find_id 2 9 52 2
nbr_itimer 2 8 42 3
nbr_start_itimer 2 8 50 1
nbr_stop_itimer 2 5 27 1
nbr_reset_itimer 2 8 50 1
nbr_adj_timer 4 11 69 3
nbr_start_adj_timer 2 8 46 1
nbr_act_reset_itimer 1 5 19 1
nbr_act_start_itimer 1 5 19 1
nbr_adj_ok 9 19 82 1
nbr_act_eval 2 14 68 1
nbr_act_snapshot 2 13 75 1
nbr_act_exchange_done 6 14 76 1
nbr_act_adj_ok 3 11 56 1
nbr_act_restart_dd 2 15 78 1
nbr_act_delete 3 16 97 1
nbr_act_clear_lists 1 9 39 1
nbr_act_hello_check 1 5 27 1
nbr_to_ctl 7 43 386 1
lsa_hdr_new 2 7 42 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/lsreq.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_ls_req 12 44 294 1
recv_ls_req 10 23 102 3
ls_req_list_add 3 11 77 2
ls_req_list_get 4 11 80 2
ls_req_list_free 7 17 117 2
ls_req_list_clr 2 11 68 1
ls_req_list_empty 1 4 20 1
ls_req_tx_timer 12 30 135 3
start_ls_req_tx_timer 3 9 52 1
stop_ls_req_tx_timer 3 7 39 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/database.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_db_description 25 99 579 1
recv_db_description 37 135 780 3
db_sum_list_add 2 8 61 2
db_sum_list_next 2 9 58 1
db_sum_list_clr 1 5 20 1
db_tx_timer 12 29 131 3
start_db_tx_timer 3 9 52 1
stop_db_tx_timer 3 7 39 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/rde_lsdb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lsa_init 1 4 13 1
lsa_compare 7 16 112 2
vertex_get 3 23 191 3
vertex_free 1 7 43 1
lsa_newer 13 34 226 2
lsa_check 32 99 662 3
lsa_link_check 4 26 162 2
lsa_intra_a_pref_check 4 27 163 2
lsa_asext_check 11 46 293 2
lsa_self 1 4 20 1
lsa_flush 2 9 86 2
lsa_reflood 1 5 33 2
lsa_add 15 48 383 2
lsa_del 3 13 91 2
lsa_age 3 21 108 1
lsa_find 5 17 121 4
lsa_find_tree 4 15 93 4
lsa_find_rtr 1 4 22 2
lsa_find_rtr_frag 8 31 161 3
lsa_find_lsid 7 31 228 5
lsa_num_links 4 21 145 1
lsa_snap 6 25 164 2
lsa_dump 19 51 241 3
lsa_timeout 9 32 252 3
lsa_refresh 5 24 205 1
lsa_merge 8 36 252 3
lsa_remove_invalid_sums 7 15 115 1
lsa_equal 7 13 117 2
lsa_get_prefix 6 28 199 3
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/ospf6d.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/printconf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_mainconf 3 14 81 1
print_no 2 7 24 1
print_redistribute 7 29 170 1
print_rtlabel 2 8 42 1
print_iface 3 15 106 1
print_config 2 18 102 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospf6d/kroute.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
kr_init 9 36 251 1
kr_change_fib 22 60 463 4
kr_change 4 10 83 2
kr_delete_fib 4 12 92 1
kr_delete 4 14 83 1
kr_shutdown 1 5 14 1
kr_fib_couple 4 13 86 1
kr_fib_decouple 4 13 86 1
kr_dispatch_msg 1 4 18 3
kr_show_route 9 41 253 1
kr_redist_remove 5 14 97 2
kr_redist_eval 15 33 211 2
kr_redistribute 6 23 153 1
kr_reload 6 16 90 1
kroute_compare 8 18 160 2
kroute_find 5 20 130 3
kroute_matchgw 4 10 62 3
kroute_insert 5 22 138 1
kroute_remove 9 38 262 1
kroute_clear 2 6 32 1
kif_update 7 25 183 4
kif_validate 3 9 58 1
kroute_match 4 14 97 1
protect_lo 3 14 107 1
get_rtaddrs 3 12 87 3
if_change 8 32 202 3
if_newaddr 22 61 409 4
if_deladdr 13 41 293 4
if_announce 5 23 132 1
send_rtmsg 12 103 827 3
fetchtable 23 109 722 1
fetchifs 10 60 430 1
dispatch_rtmsg 52 217 1332 1
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/dvmrp.h
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/route.h
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/config.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
config_vifs_from_kernel 14 66 462 1
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/vif.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
init_vifs 13 52 342 1
init_installvifs 5 22 156 1
check_vif_state 7 34 195 1
send_probe_on_vif 6 25 168 1
start_vif 1 5 23 1
start_vif2 4 26 174 1
stop_vif 6 32 212 1
stop_all_vifs 5 25 146 1
find_vif 13 27 191 2
age_old_hosts 4 10 68 1
query_groups 4 14 79 1
accept_membership_query 5 18 110 4
accept_group_report 11 46 296 4
accept_leave_message 10 38 248 3
probe_for_neighbors 3 10 58 1
accept_neighbor_request 12 59 423 2
accept_neighbor_request2 20 95 635 2
accept_info_request 5 28 172 4
info_version 2 13 78 2
accept_neighbors 1 6 43 5
accept_neighbors2 1 6 43 5
accept_info_reply 1 5 40 4
update_neighbor 34 123 839 6
age_vifs 11 38 259 1
neighbor_info 3 8 48 2
dump_vifs 21 88 669 1
DelVif 4 20 134 1
SetTimer 1 8 57 2
DeleteTimer 1 5 15 1
SendQuery 1 10 71 1
SetQueryTimer 1 9 67 4
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/rsrr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rsrr_init 4 14 125 1
rsrr_read 3 18 122 1
rsrr_accept 7 53 235 1
rsrr_accept_iq 4 30 199 1
rsrr_accept_rq 12 68 496 3
rsrr_send 3 13 75 1
rsrr_cache 7 39 302 2
rsrr_cache_send 4 18 117 2
rsrr_cache_clean 2 12 64 1
rsrr_clean 1 4 11 1
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/prune.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
prun_add_ttls 3 11 71 1
scoped_addr 3 8 54 2
grplst_mem 3 10 60 2
find_src_grp 11 24 167 3
pruning_neighbor 4 11 63 2
can_mtrace 4 11 63 2
find_prune_entry 3 9 38 2
send_prune 9 40 338 1
send_graft 5 27 218 1
send_graft_ack 3 17 152 4
update_kernel 2 6 39 1
init_ktable 1 6 18 1
add_table_entry 37 116 801 2
reset_neighbor_state 15 54 374 2
del_table_entry 19 95 569 3
update_table_entry 15 42 300 1
update_lclgrp 7 25 174 2
delete_lclgrp 12 34 241 2
accept_prune 23 100 725 4
chkgrp_graft 8 27 185 2
accept_graft 13 70 487 4
accept_g_ack 8 37 255 4
free_all_prunes 6 37 178 1
steal_sources 12 61 463 1
age_table_entry 36 146 924 1
expire_prune 4 18 129 2
scaletime 7 32 156 1
dump_cache 15 49 422 1
accept_mtrace 44 204 1466 6
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/kern.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
k_set_rcvbuf 2 6 43 1
k_hdr_include 3 6 43 1
k_set_ttl 2 8 50 1
k_set_loop 2 8 50 1
k_set_if 2 9 58 1
k_join 2 10 78 2
k_leave 2 10 78 2
k_init_dvmrp 4 9 66 1
k_stop_dvmrp 2 6 36 1
k_add_vif 2 13 102 2
k_del_vif 2 6 41 1
k_add_rg 7 17 146 2
k_del_rg 5 15 110 2
k_get_version 3 11 56 1
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/defs.h
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/main.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
register_input_handler 2 8 42 2
main 35 148 1011 2
fasttimer 7 29 143 1
timer 5 19 73 1
done 1 6 27 1
cleanup 3 11 39 1
dump 1 5 17 1
fdump 2 10 46 1
cdump 2 9 41 1
restart 2 24 137 1
resetlogging 3 14 71 1
logit 13 42 290 4
md_logit 3 17 115 3
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/rsrr_var.h
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/prune.h
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/igmp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
init_igmp 2 22 149 1
packet_kind 28 39 199 2
accept_igmp 26 116 692 1
igmp_log_level 5 14 43 2
send_igmp 6 43 316 6
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/rsrr.h
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/inet.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
inet_valid_host 3 8 41 1
inet_valid_mask 2 7 38 1
inet_valid_subnet 11 24 146 2
inet_fmt 1 7 58 2
inet_fmts 6 21 213 3
inet_parse 6 14 133 1
inet_cksum 3 19 115 2
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/vif.h
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/route.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
init_routes 1 8 25 0
init_children_and_leaves 6 31 214 2
add_vif_to_routes 5 24 150 1
delete_vif_from_routes 5 25 148 1
delete_neighbor_from_routes 9 42 264 2
start_route_updates 1 4 10 1
find_route 7 19 108 2
create_route 6 29 258 2
discard_route 2 12 63 1
update_route 42 129 840 5
age_routes 15 46 264 1
expire_all_routes 2 9 45 1
free_all_routes 2 7 26 1
accept_probe 2 11 73 5
compare_rts 5 19 132 2
accept_report 20 77 636 5
report 17 59 474 3
report_to_all_neighbors 7 22 121 1
report_chunk 16 52 417 3
report_next_chunk 11 33 203 1
dump_routes 8 25 194 1
determine_route 3 9 49 1
Source file: /home/sergeyb/sources/src/usr.sbin/mrouted/callout.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
callout_init 1 4 15 1
age_callout_queue 6 26 111 1
timer_setTimer 7 44 226 3
timer_clearTimer 7 30 139 1
print_Q 2 6 42 1
secs_remaining 4 10 58 1
Source file: /home/sergeyb/sources/src/usr.sbin/slaacctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/slaacctl/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse 6 24 152 2
match_token 20 48 294 3
show_valid_args 6 19 92 1
Source file: /home/sergeyb/sources/src/usr.sbin/slaacctl/slaacctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 25 1
main 23 85 551 2
show_interface_msg 33 150 1061 1
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/radiusd_module.h
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 9 39 1
logit 1 7 38 3
vlog 10 50 346 3
log_warn 3 18 111 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 3 9 43 2
fatal 3 12 61 1
fatalx 1 5 18 1
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/imsg_subr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
imsg_sync_read 4 15 102 2
imsg_sync_flush 5 17 116 2
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/radiusd.h
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/radiusd_bsdauth.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 25 117 725 2
module_bsdauth_main 8 35 236 2
module_bsdauth_config_set 8 39 243 4
module_bsdauth_userpass 12 70 550 4
fatal 1 5 22 1
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/radiusd_local.h
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/util.h
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/imsg_subr.h
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/radiusd_module.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
module_create 2 14 96 3
module_start 4 10 94 1
module_run 2 8 38 1
module_destroy 1 5 22 1
module_load 3 12 83 1
module_drop_privilege 7 18 117 1
module_notify_secret 1 8 55 2
module_send_message 3 21 138 4
module_userpass_ok 1 13 109 3
module_userpass_fail 1 13 109 3
module_accsreq_answer 1 6 41 5
module_accsreq_aborted 1 8 52 2
module_common_radpkt 4 30 218 6
module_recv_imsg 8 24 152 1
module_imsg_handler 24 138 710 2
module_stop 3 8 45 1
module_on_event 9 27 148 3
module_reset_event 7 20 130 1
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
addrport_parse 7 38 231 3
addrport_tostring 6 21 142 4
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/radiusd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 6 25 1
main 21 69 480 2
radiusd_start 6 54 396 1
radiusd_stop 8 35 280 1
radiusd_free 2 35 273 1
radiusd_listen_on_event 37 170 1085 3
radius_query_request_decoration 3 13 80 1
radius_query_response_decoration 3 13 80 1
radiusd_access_request_answer 11 43 316 1
radiusd_access_request_aborted 3 9 60 1
radiusd_on_sigterm 1 6 31 3
radiusd_on_sigint 1 6 31 3
radiusd_on_sighup 1 4 19 3
radiusd_on_sigchld 7 35 186 3
radius_code_string 3 22 128 1
radiusd_conf_init 3 18 103 1
radiusd_access_response_fixup 9 62 438 1
radius_attr_hide 6 21 160 5
radius_attr_unhide 6 22 173 5
radiusd_find_query 2 9 48 2
radiusd_module_load 12 76 521 3
radiusd_module_start 6 39 243 1
radiusd_module_stop 2 11 71 1
radiusd_module_close 2 9 49 1
radiusd_module_unload 1 6 26 1
radiusd_module_on_imsg_io 11 27 157 3
radiusd_module_reset_ev_handler 8 26 168 1
radiusd_module_imsg_read 10 27 161 2
radiusd_module_imsg 18 91 493 2
radiusd_module_recv_radpkt 6 38 243 4
radiusd_module_set 12 82 553 4
radiusd_module_userpass 3 23 161 2
radiusd_module_access_request 7 46 329 2
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/radiusd_radius.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 3 19 125 2
module_radius_init 1 5 30 1
module_radius_config_set 15 72 541 4
module_radius_start 5 22 133 1
module_radius_stop 2 10 70 1
module_radius_access_request 5 39 245 4
radius_server_start 6 46 343 1
radius_server_stop 2 7 39 1
radius_server_on_event 12 69 449 3
radius_server_on_fail 2 23 185 2
module_radius_req_send 3 20 153 1
module_radius_req_reset_event 4 22 142 1
module_radius_req_on_timeout 4 20 130 3
module_radius_req_on_success 1 6 41 3
module_radius_req_on_failure 1 5 27 1
module_radius_req_free 2 8 51 1
module_radius_req_select_server 1 8 60 1
module_radius_req_reset_msgauth 3 9 55 1
module_radius_log 1 9 63 4
Source file: /home/sergeyb/sources/src/usr.sbin/radiusd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/traphandler.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
traphandler 4 16 131 2
traphandler_init 3 14 101 3
traphandler_bind 5 18 141 1
traphandler_shutdown 1 8 39 1
traphandler_dispatch_parent 1 8 37 3
snmpd_dispatch_traphandler 2 10 50 3
traphandler_recvmsg 5 28 204 3
traphandler_parse 9 40 261 6
traphandler_v1translate 2 8 53 3
traphandler_priv_recvmsg 4 17 91 2
traphandler_fork_handler 8 37 293 2
trapcmd_exec 14 72 528 5
traphandler_hostname 3 11 78 2
trapcmd_lookup 2 9 63 1
trapcmd_cmp 2 12 57 2
trapcmd_add 1 4 24 1
trapcmd_free 1 7 38 1
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/ber.h
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 10 48 2
log_procinit 2 5 19 1
log_setverbose 1 4 11 1
log_getverbose 1 4 11 1
logit 1 7 38 3
vlog 3 17 99 3
log_warn 3 21 120 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 43 2
vfatalc 3 17 106 3
fatal 1 8 40 2
fatalx 1 8 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/usm.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usm_generate_keys 3 24 146 1
usm_get_md 4 12 38 1
usm_get_cipher 4 12 38 1
usm_newuser 3 13 82 2
usm_finduser 2 9 42 1
usm_checkuser 17 53 293 2
usm_decode 24 103 673 3
usm_encode 12 51 381 2
usm_cb_digest 1 5 24 2
usm_encrypt 5 24 157 2
usm_finalize_digest 8 21 170 3
usm_make_report 2 14 104 1
usm_valid_digest 6 21 173 4
usm_decrypt 5 24 157 2
usm_crypt 10 42 305 5
usm_passwd2key 8 39 306 3
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/ber.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ber_get_element 2 9 53 1
ber_set_header 2 7 42 3
ber_link_elements 5 11 57 2
ber_unlink_elements 4 14 70 1
ber_replace_elements 1 9 55 2
ber_add_sequence 2 8 40 1
ber_add_set 2 8 40 1
ber_add_enumerated 9 22 150 2
ber_add_integer 9 22 150 2
ber_get_integer 2 7 36 2
ber_get_enumerated 2 7 36 2
ber_add_boolean 3 10 59 2
ber_get_boolean 2 7 40 2
ber_add_string 1 4 27 2
ber_add_nstring 3 17 106 3
ber_get_string 2 7 35 2
ber_get_nstring 2 8 46 3
ber_add_bitstring 3 17 104 3
ber_get_bitstring 2 8 46 3
ber_add_null 2 8 40 1
ber_get_null 2 6 24 1
ber_add_eoc 2 8 40 1
ber_get_eoc 2 6 24 1
ber_oid2ber 10 22 187 3
ber_string2oid 6 16 151 2
ber_add_oid 5 22 140 2
ber_add_noid 2 9 69 3
ber_add_oidstring 2 7 47 2
ber_get_oid 6 22 182 2
ber_printf_elements 32 101 583 3
ber_scanf_elements 37 128 697 3
ber_write_elements 7 21 155 2
ber_read_elements 5 15 83 2
ber_getpos 1 4 14 1
ber_free_elements 9 13 87 1
ber_calc_len 12 21 157 1
ber_dump_element 16 37 215 2
ber_dump_header 12 35 266 2
ber_putc 2 6 36 2
ber_write 2 6 45 3
get_id 6 26 173 4
get_len 8 32 174 2
ber_read_element 34 98 613 2
ber_readbuf 3 16 93 3
ber_set_readbuf 1 5 38 3
ber_get_writebuf 2 7 43 2
ber_set_application 1 4 27 2
ber_set_writecallback 1 6 37 3
ber_free 1 4 16 1
ber_getc 1 4 23 2
ber_read 7 23 140 3
ber_oid_cmp 6 19 123 2
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/snmpd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
snmpd_sig_handler 19 57 309 3
usage 1 7 26 1
main 22 106 663 2
snmpd_shutdown 2 9 58 1
check_child 4 16 84 2
snmpd_dispatch_snmpe 2 9 40 3
snmpd_socket_af 3 20 119 2
snmpd_generate_engineid 1 16 163 1
snmpd_engine_time 1 6 23 1
tohexstr 3 14 108 2
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/timer.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
timer_cpu 5 21 198 3
timer_init 10 26 259 1
percentages 5 20 155 5
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control_init 10 49 371 2
control_listen 3 14 96 1
control_cleanup 2 7 35 1
control_accept 11 48 362 3
control_close 3 19 165 3
control_dispatch_imsg 32 106 649 3
purge_registered_oids 3 10 59 1
control_dispatch_agentx 77 243 1261 3
control_imsg_forward 2 9 68 1
control_event_add 1 6 62 4
imsg_read_nofd 3 14 98 1
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/pf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pf_init 2 5 27 1
pf_get_stats 2 10 55 1
pfr_get_astats 7 19 134 4
pfr_get_tstats 7 19 136 4
pfr_buf_grow 10 29 197 2
pfr_buf_next 5 15 116 2
pfi_get_ifaces 8 23 163 3
pfi_get 4 14 95 2
pfi_count 2 14 68 1
pfi_get_if 4 22 118 2
pft_get 4 14 97 2
pft_get_table 5 24 131 2
pft_count 3 17 83 1
pfta_get 4 15 99 2
pfta_get_addr 9 33 239 2
pfta_get_nextaddr 9 38 264 2
pfta_get_first 7 30 190 1
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/snmpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/smi.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
smi_getticks 3 13 84 1
smi_oidlen 3 7 41 1
smi_scalar_oidlen 2 6 27 1
smi_oid2string 7 26 218 4
smi_string2oid 9 27 232 2
smi_delete 4 14 108 1
smi_insert 4 13 107 1
smi_mibtree 6 25 183 1
smi_init 1 6 21 1
smi_find 1 4 22 1
smi_findkey 2 8 43 1
smi_next 1 4 22 1
smi_foreach 9 18 111 2
smi_debug_elements 50 166 724 1
smi_print_element 27 71 451 1
smi_application 8 18 67 1
smi_oid_cmp 7 13 124 2
smi_key_cmp 3 6 48 2
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/agentx.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
snmp_agentx_alloc 2 11 69 1
snmp_agentx_open 5 21 161 3
snmp_agentx_fdopen 6 16 112 3
snmp_agentx_close 4 13 91 2
snmp_agentx_free 5 17 114 1
snmp_agentx_pdu_alloc 3 21 166 1
snmp_agentx_response 3 10 64 2
snmp_agentx_read_response 3 10 77 2
snmp_agentx_open_response 2 7 47 2
snmp_agentx_pdu_free 1 6 28 1
snmp_agentx_buffer_consume 2 10 68 2
snmp_agentx_send 8 30 228 2
snmp_agentx_recv 25 88 599 1
snmp_agentx_request 7 17 101 2
agentx_find_inflight 3 8 56 3
snmp_agentx_buffercheck 5 18 145 2
snmp_agentx_open_pdu 6 24 160 3
snmp_agentx_close_pdu 3 15 98 2
snmp_agentx_notify_pdu 3 13 79 1
snmp_agentx_response_pdu 3 16 100 3
snmp_agentx_ping_pdu 2 9 49 1
snmp_agentx_register_pdu 6 21 144 4
snmp_agentx_unregister_pdu 7 22 151 3
snmp_agentx_get_pdu 5 19 128 2
snmp_agentx_getnext_pdu 5 19 128 2
snmp_agentx_raw 2 10 70 3
snmp_agentx_int 1 4 29 2
snmp_agentx_int64 1 4 29 2
snmp_agentx_octetstring 4 13 105 3
snmp_agentx_oid 10 25 197 2
snmp_agentx_varbind 16 33 195 5
snmp_agentx_read_vbhdr 3 9 64 2
snmp_agentx_copy_raw 1 4 30 3
snmp_agentx_read_raw 1 4 30 3
snmp_agentx_do_read_raw 3 9 63 4
snmp_agentx_read_int 3 8 61 2
snmp_agentx_read_int64 3 8 61 2
snmp_agentx_read_oid 1 5 30 2
snmp_agentx_do_read_oid 5 23 173 3
snmp_agentx_read_searchrange 3 7 58 2
snmp_agentx_read_octetstr 4 15 92 2
snmp_agentx_ping 4 13 85 1
snmp_agentx_update_ids 1 5 34 2
snmp_oid2string 3 13 103 3
snmp_oid_cmp 6 19 123 2
snmp_oid_increment 3 9 54 1
snmp_agentx_type2name 2 26 73 1
snmp_agentx_dump_hdr 3 19 121 1
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
varbind_convert 31 96 450 4
sendtofrom 3 46 337 8
recvfromto 11 61 432 8
print_debug 2 9 45 2
print_verbose 2 9 43 2
log_in6addr 3 19 157 1
print_host 2 9 63 3
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/snmp.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
snmp_agentx_byteorder_native 1 4 22 1
snmp_agentx_byteorder_native 1 4 22 1
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/proc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
proc_ispeer 3 9 55 3
proc_getid 3 13 75 3
proc_exec 11 52 398 5
proc_connect 9 24 191 1
proc_init 11 42 301 6
proc_accept 4 24 185 4
proc_setup 13 42 451 3
proc_kill 11 30 180 1
proc_open 10 34 319 3
proc_close 6 21 171 1
proc_shutdown 4 11 76 1
proc_sig_handler 7 17 63 3
proc_run 17 64 574 6
proc_dispatch 16 66 439 3
proc_dispatch_null 1 4 23 3
imsg_event_add 3 13 95 1
imsg_compose_event 2 10 75 7
imsg_composev_event 2 10 77 7
proc_range 2 9 57 4
proc_compose_imsg 3 12 106 8
proc_compose 1 5 48 5
proc_composev_imsg 3 11 106 8
proc_composev 1 5 50 5
proc_forward_imsg 1 6 58 4
proc_ibuf 1 6 48 3
proc_iev 1 6 46 3
proc_flush_imsg 6 17 126 3
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/mib.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mib_getsys 17 63 402 3
mib_sysor 10 40 263 3
mib_getsnmp 5 57 444 3
mib_setsnmp 3 9 70 3
mib_engine 5 21 113 3
mib_usmstats 3 25 192 3
mib_hrsystemuptime 2 14 118 3
mib_hrsystemdate 2 27 215 3
mib_hrsystemprocs 6 30 207 3
mib_hrmemory 2 11 96 3
mib_hrstorage 20 105 670 3
mib_hrdevice 9 47 292 3
mib_hrprocessor 7 29 197 3
mib_hrswrun 18 58 310 3
kinfo_proc_comp 2 6 56 2
kinfo_proc 10 46 307 2
kinfo_args 9 37 240 2
mib_ifnumber 1 5 37 3
mib_ifget 6 19 113 1
mib_iftable 32 134 893 3
mib_ifxtable 24 92 589 3
mib_ifstacklast 1 7 52 3
mib_ifrcvtable 6 31 238 3
mib_pfinfo 7 31 198 3
mib_pfcounters 4 39 348 3
mib_pfscounters 5 33 227 3
mib_pflogif 5 41 384 3
mib_pfsrctrack 5 33 226 3
mib_pflimits 5 34 224 3
mib_pftimeouts 5 47 298 3
mib_pfifnum 2 8 57 3
mib_pfiftable 24 98 744 3
mib_pftablenum 2 8 57 3
mib_pftables 26 108 761 3
mib_pftableaddrs 18 80 600 3
mib_pftableaddrstable 6 40 342 3
mib_pflabelnum 5 24 158 3
mib_pflabels 17 74 487 3
mib_pfsyncstats 4 43 333 3
mib_sensornum 5 21 141 3
mib_sensors 21 79 503 3
mib_sensorunit 2 7 34 1
mib_sensorvalue 25 50 281 1
mib_carpsysctl 2 12 102 3
mib_carpstats 4 41 317 3
mib_carpifnum 3 11 78 3
mib_carpifget 11 42 317 1
mib_carpiftable 9 38 260 3
mib_memiftable 4 23 147 3
mib_ipforwarding 3 10 100 3
mib_ipdefaultttl 2 10 92 3
mib_getipstat 1 6 55 1
mib_ipstat 4 32 238 3
mib_ipinhdrerrs 2 15 107 3
mib_ipinaddrerrs 2 11 79 3
mib_ipforwdgrams 2 11 79 3
mib_ipindiscards 1 4 24 3
mib_ipreasmfails 2 11 79 3
mib_ipfragfails 2 11 79 3
mib_iproutingdiscards 1 5 24 3
mib_ipaddrtable 6 38 334 3
mib_ipaddr 10 42 306 3
mib_physaddrtable 13 59 494 3
mib_physaddr 10 51 354 3
mib_ipfnroutes 1 6 47 3
mib_ipfroutetable 8 74 543 3
mib_ipfroute 24 96 514 3
mib_diskio 13 64 476 3
mib_dot1dtable 7 26 160 3
mib_init 1 13 56 1
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/mps.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mps_getstr 2 8 55 3
mps_setstr 6 18 141 3
mps_getint 1 5 37 3
mps_setint 2 8 54 3
mps_getts 1 6 47 3
mps_getreq 12 46 330 4
mps_setreq 5 17 131 3
mps_getnextreq 26 87 593 3
mps_getbulkreq 8 37 207 5
mps_set 3 16 114 3
mps_table 6 32 278 3
mps_encodeinaddr 3 15 144 3
mps_decodeinaddr 2 12 121 3
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/trap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
trap_init 1 5 23 1
trap_agentx 16 78 465 5
trap_send 13 77 578 2
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/snmpe.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
snmpe 6 20 180 2
snmpe_init 3 16 109 3
snmpe_shutdown 1 4 10 1
snmpe_dispatch_parent 1 8 37 3
snmpe_bind 9 37 241 1
snmpe_parse 37 155 951 1
snmpe_parsevarbinds 33 109 677 1
snmpe_recvmsg 8 42 310 3
snmpe_dispatchmsg 2 7 31 1
snmpe_response 11 39 233 1
snmp_msgfree 3 9 52 1
snmpe_encode 11 42 294 1
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/mib.h
Source file: /home/sergeyb/sources/src/usr.sbin/snmpd/kroute.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
kr_init 12 39 313 1
ktable_init 3 7 36 1
ktable_new 7 35 244 2
ktable_free 2 11 62 1
ktable_get 2 6 26 1
ktable_update 7 18 98 1
ktable_exists 4 22 136 2
kr_shutdown 2 7 33 1
kr_ifnumber 1 4 13 1
kr_iflastchange 1 4 13 1
kr_updateif 1 4 15 1
kr_routenumber 1 4 13 1
kroute_compare 9 18 179 2
kroute6_compare 10 21 197 2
kif_compare 1 4 29 2
ka_compare 3 8 89 2
kroute_find 5 21 139 4
kroute_matchgw 4 15 79 2
kroute_insert 3 12 77 2
kroute_remove 9 36 265 2
kroute_clear 2 6 39 1
kroute6_find 5 21 150 4
kroute6_matchgw 4 15 98 2
kroute6_insert 3 12 77 2
kroute6_remove 9 38 269 2
kroute6_clear 2 6 39 1
karp_compare 3 10 86 2
karp_search 3 13 65 2
karp_find 4 17 115 2
karp_insert 5 19 125 2
karp_remove 3 10 74 2
karp_first 2 7 41 1
karp_getaddr 3 7 54 3
kif_find 2 9 61 1
kr_getif 2 8 38 1
kr_getnextif 4 11 65 1
kif_insert 3 14 97 1
kif_remove 4 20 131 1
kif_clear 2 8 46 1
kif_update 9 30 301 4
ka_insert 2 7 42 2
ka_find 2 9 75 1
ka_remove 1 6 29 1
kr_getaddr 1 4 17 1
kr_getnextaddr 3 9 53 1
prefixlen_classful 5 13 60 1
mask2prefixlen 2 7 32 1
prefixlen2mask 2 6 33 1
mask2prefixlen6 11 39 175 1
prefixlen2mask6 3 12 80 1
get_rtaddrs 3 12 87 3
if_change 2 6 44 4
if_newaddr 7 28 212 4
if_deladdr 4 17 98 4
if_announce 3 17 85 1
fetchtable 7 36 236 1
fetchifs 4 31 193 1
fetcharp 5 34 219 1
dispatch_rtmsg 3 14 80 3
rtmsg_process 19 65 390 2
dispatch_rtmsg_addr 74 245 1621 3
kroute_first 2 9 54 1
kroute_getaddr 5 14 99 4
Source file: /home/sergeyb/sources/src/usr.sbin/quotaon/quotaon.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 29 79 513 2
usage 1 5 22 1
quotaonoff 8 25 180 4
oneof 3 8 58 3
hasquota 11 33 247 4
readonly 7 20 125 1
Source file: /home/sergeyb/sources/src/usr.sbin/zic/zic.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
memcheck 2 6 24 1
ecatalloc 1 9 58 2
eats 1 7 36 4
eat 1 4 24 2
error 2 10 49 1
warning 1 9 42 1
scheck 16 42 279 2
usage 1 8 21 1
main 32 84 512 2
dolink 9 32 207 2
setboundaries 2 8 42 1
itsdir 1 10 51 1
rcomp 1 5 42 2
associate 19 64 491 1
infile 20 72 414 1
gethms 14 35 249 3
inrule 4 23 181 2
inzone 10 43 276 2
inzcont 3 8 41 2
inzsub 17 68 438 3
inleap 23 93 562 2
inlink 4 22 127 2
rulesub 29 126 773 7
convert 2 7 48 2
convert64 2 7 48 2
puttzcode 1 6 36 2
puttzcode64 1 6 36 2
atcomp 2 6 62 2
is32 2 4 16 1
writezone 82 245 1827 2
doabbr 12 33 241 6
updateminmax 3 7 27 1
stringoffset 6 30 198 3
stringrule 16 51 359 5
stringzone 29 73 542 4
outzone 61 207 1351 2
addtt 6 27 187 2
addtype 19 43 284 5
leapadd 10 27 190 4
adjleap 2 9 53 1
yearistype 6 21 126 2
itsabbr 5 14 89 2
byword 8 19 120 2
getfields 16 38 245 1
oadd 5 9 54 2
tadd 9 14 82 2
rpytime 20 68 395 2
newabbr 12 34 222 1
mkdirs 8 26 145 1
eitol 7 7 56 1
Source file: /home/sergeyb/sources/src/usr.sbin/mtrace/mtrace.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
inet_name 2 6 40 1
host_addr 9 33 212 1
proto_type 5 17 74 1
flag_type 10 27 114 1
get_netmask 9 30 188 2
get_ttl 6 19 117 1
t_diff 1 5 29 2
fixtime 2 7 60 1
byteswap 1 5 46 1
send_recv 48 154 1104 5
passive_mode 25 91 648 1
print_host 1 4 15 1
print_host2 5 13 90 2
print_trace 4 23 204 2
what_kind 11 51 341 2
scale 5 7 54 1
stat_line 28 78 670 4
fixup_stats 13 52 426 3
print_stats 15 76 710 3
main 135 384 2602 2
check_vif_state 1 4 15 1
logit 11 22 147 4
accept_probe 1 4 20 5
accept_group_report 1 4 16 4
accept_neighbor_request2 1 3 10 2
accept_report 1 4 20 5
accept_neighbor_request 1 3 10 2
accept_prune 1 3 17 4
accept_graft 1 3 17 4
accept_g_ack 1 3 17 4
add_table_entry 1 3 10 2
accept_leave_message 1 3 13 3
accept_mtrace 1 4 23 6
accept_membership_query 1 4 16 4
accept_neighbors 1 4 20 5
accept_neighbors2 1 4 20 5
accept_info_request 1 3 17 4
accept_info_reply 1 3 17 4
Source file: /home/sergeyb/sources/src/usr.sbin/vipw/vipw.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 11 41 262 2
copyfile 6 17 167 3
usage 1 6 28 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/lde.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lde_sig_handler 3 10 37 3
lde 9 45 345 2
lde_shutdown 1 15 81 1
lde_imsg_compose_parent 1 4 38 4
lde_imsg_compose_ldpe 1 6 41 5
lde_dispatch_imsg 48 165 919 3
lde_dispatch_parent 39 159 1083 3
lde_assign_label 1 6 20 1
lde_send_change_klabel 8 55 445 2
lde_send_delete_klabel 7 54 442 2
lde_fec2map 4 25 204 2
lde_map2fec 5 29 208 3
lde_send_labelmapping 13 47 315 3
lde_send_labelwithdraw 15 58 404 4
lde_send_labelwithdraw_wcard 1 8 53 2
lde_send_labelwithdraw_twcard_prefix 1 11 78 3
lde_send_labelwithdraw_twcard_pwid 1 11 78 3
lde_send_labelwithdraw_pwid_wcard 1 11 76 3
lde_send_labelrelease 10 31 190 4
lde_send_notification 1 11 72 4
lde_send_notification_eol_prefix 1 12 94 2
lde_send_notification_eol_pwid 1 12 94 2
lde_nbr_compare 1 4 25 2
lde_nbr_new 3 20 151 2
lde_nbr_del 8 41 237 1
lde_nbr_find 1 6 31 1
lde_nbr_find_by_lsrid 2 8 44 1
lde_nbr_find_by_addr 2 8 49 2
lde_nbr_clear 2 6 30 1
lde_nbr_addr_update 7 36 191 3
lde_map_add 5 21 154 3
lde_map_del 2 8 53 3
lde_map_free 1 6 27 1
lde_req_add 5 17 117 3
lde_req_del 2 8 53 3
lde_wdraw_add 3 12 84 2
lde_wdraw_del 1 5 32 2
lde_change_egress_label 9 39 190 2
lde_address_add 3 13 109 2
lde_address_del 2 10 73 2
lde_address_find 3 9 65 3
lde_address_list_free 2 8 49 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/socket.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ldp_create_socket 39 138 754 2
sock_set_recvbuf 2 8 40 1
sock_set_reuse 2 9 51 2
sock_set_bindany 2 9 51 2
sock_set_ipv4_tos 2 8 57 2
sock_set_ipv4_recvif 2 9 51 2
sock_set_ipv4_minttl 2 8 51 2
sock_set_ipv4_ucast_ttl 2 8 51 2
sock_set_ipv4_mcast_ttl 2 10 57 2
sock_set_ipv4_mcast 2 12 68 1
sock_set_ipv4_mcast_loop 2 10 57 1
sock_set_ipv6_dscp 2 9 51 2
sock_set_ipv6_pktinfo 2 9 51 2
sock_set_ipv6_minhopcount 2 9 51 2
sock_set_ipv6_ucast_hops 2 9 51 2
sock_set_ipv6_mcast_hops 2 9 51 2
sock_set_ipv6_mcast 2 10 62 1
sock_set_ipv6_mcast_loop 2 10 54 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 8 36 1
log_verbose 1 4 11 1
logit 1 7 38 3
vlog 3 15 90 3
log_warn 3 18 111 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 43 2
fatal 3 14 67 1
fatalx 1 5 18 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/ldpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/ldpe.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/keepalive.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_keepalive 2 12 73 1
recv_keepalive 3 12 82 3
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/hello.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_hello 16 83 483 3
recv_hello 67 195 1177 8
gen_hello_prms_tlv 1 10 96 3
gen_opt4_hello_prms_tlv 1 9 77 3
gen_opt16_hello_prms_tlv 1 9 89 3
gen_ds_hello_prms_tlv 2 8 50 2
tlv_decode_hello_prms 4 15 118 4
tlv_decode_opt_hello_prms 18 71 444 7
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control_init 6 36 253 1
control_listen 2 8 45 1
control_cleanup 1 6 23 1
control_accept 8 29 223 3
control_connbyfd 2 9 42 1
control_connbypid 2 9 42 1
control_close 2 14 90 1
control_dispatch_imsg 29 94 588 3
control_imsg_relay 2 8 76 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/logmsg.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_sockaddr 2 12 79 1
log_in6addr 1 10 64 1
log_in6addr_scope 1 10 70 2
log_addr 4 18 111 2
log_label 6 25 116 1
log_hello_src 3 15 90 1
log_map 14 48 343 1
log_fec 7 29 208 1
af_name 4 13 44 1
socket_name 4 13 44 1
nbr_state_name 6 17 60 1
if_state_name 3 11 36 1
if_type_name 3 10 35 1
msg_name 13 32 132 1
status_code_name 39 85 345 1
pw_type_name 4 15 65 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/ldpd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main_sig_handler 5 16 62 3
usage 1 7 26 1
main 32 132 851 2
ldpd_shutdown 9 26 166 1
start_child 10 40 207 6
main_dispatch_ldpe 24 72 387 3
main_dispatch_lde 25 69 392 3
main_imsg_compose_ldpe 2 6 43 4
main_imsg_compose_lde 1 4 35 4
main_imsg_compose_both 3 8 78 3
imsg_event_add 2 9 73 1
imsg_compose_event 2 9 70 7
evbuf_enqueue 1 5 29 2
evbuf_event_add 2 5 27 1
evbuf_init 1 7 66 4
evbuf_clear 1 6 34 1
main_imsg_send_ipc_sockets 4 14 113 2
main_imsg_send_net_sockets 1 7 46 1
main_imsg_send_net_socket 2 12 73 2
ldp_af_conf_get 3 11 47 2
ldp_af_global_get 3 11 47 2
ldp_is_dual_stack 2 5 32 1
main_imsg_send_config 9 45 310 1
ldp_reload 3 10 58 1
merge_config 1 11 84 2
merge_global 9 27 162 2
merge_af 16 48 279 3
merge_ifaces 5 25 188 2
merge_iface_af 3 10 67 2
merge_tnbrs 7 32 227 2
merge_nbrps 21 68 488 2
merge_l2vpns 9 40 209 2
merge_l2vpn 35 118 764 3
config_new_empty 2 12 72 1
config_clear 1 12 72 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/address.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_address 11 57 326 5
send_address_single 1 7 51 3
send_address_all 2 14 81 2
send_mac_withdrawal 4 26 170 3
recv_address 19 118 744 3
gen_address_list_tlv 5 32 199 4
gen_mac_list_tlv 3 13 90 2
address_list_add 2 9 56 2
address_list_clr 2 8 41 1
log_msg_address 2 6 55 5
log_msg_mac_withdrawal 3 6 52 3
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/interface.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
if_new 5 29 227 1
if_exit 4 13 89 1
if_lookup 2 8 47 2
iface_af_get 3 11 47 2
if_addr_new 2 11 75 1
if_addr_lookup 4 11 86 2
if_addr_add 11 29 208 1
if_addr_del 11 32 210 1
if_start 5 26 152 2
if_reset 6 24 145 2
if_update_af 19 41 237 2
if_update 6 10 72 2
if_update_all 1 6 30 1
if_hello_timer 1 6 35 3
if_start_hello_timer 2 8 48 1
if_stop_hello_timer 3 6 37 1
if_to_ctl 3 26 196 1
if_get_ipv4_addr 2 8 49 1
if_join_ipv4_group 2 15 112 2
if_leave_ipv4_group 2 15 113 2
if_join_ipv6_group 2 15 103 2
if_leave_ipv6_group 2 15 107 2
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/ldpe.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ldpe_sig_handler 3 10 37 3
ldpe 14 67 536 3
ldpe_shutdown 4 30 197 1
ldpe_imsg_compose_parent 1 4 38 4
ldpe_imsg_compose_lde 1 6 41 5
ldpe_dispatch_main 63 240 1510 3
ldpe_dispatch_lde 42 122 632 3
ldpe_dispatch_pfkey 3 8 41 3
ldpe_setup_sockets 1 16 120 4
ldpe_close_sockets 6 22 140 1
ldpe_reset_nbrs 2 8 42 1
ldpe_reset_ds_nbrs 2 8 39 1
ldpe_remove_dynamic_tnbrs 2 10 51 1
ldpe_stop_init_backoff 3 10 48 1
ldpe_iface_af_ctl 4 16 108 3
ldpe_iface_ctl 1 5 31 2
ldpe_adj_ctl 2 21 156 1
ldpe_nbr_ctl 1 11 83 1
mapping_list_add 2 9 59 2
mapping_list_clr 2 8 43 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/packet.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
gen_ldp_hdr 1 10 78 2
gen_msg_hdr 1 10 84 3
send_packet 10 34 213 6
disc_recv_packet 24 110 737 3
disc_find_iface 11 44 231 4
session_accept 12 44 255 3
session_accept_nbr 8 28 161 2
session_read 37 146 804 3
session_write 7 15 102 3
session_shutdown 7 20 101 4
session_close 1 9 45 1
session_get_pdu 5 22 160 2
tcp_new 4 17 136 2
tcp_close 2 13 74 1
pending_conn_new 3 17 129 3
pending_conn_del 3 8 54 1
pending_conn_find 3 9 60 2
pending_conn_timeout 1 11 82 3
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/ldp.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/control.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/pfkey.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pfkey_send 26 169 1243 16
pfkey_read 10 23 147 2
pfkey_reply 11 53 323 2
pfkey_sa_add 5 15 158 6
pfkey_sa_remove 3 11 94 4
pfkey_md5sig_establish 5 16 144 2
pfkey_md5sig_remove 5 17 152 1
pfkey_establish 3 15 97 2
pfkey_remove 4 12 61 1
pfkey_init 3 13 66 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/labelmapping.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
enqueue_pdu 1 7 58 3
send_labelmessage 14 55 397 3
recv_labelmessage 61 259 1334 4
gen_label_tlv 1 8 59 2
tlv_decode_label 12 39 267 5
gen_reqid_tlv 1 8 59 2
gen_pw_status_tlv 1 8 59 2
len_fec_tlv 10 36 151 1
gen_fec_tlv 19 113 854 2
tlv_decode_fec_elm 28 185 1373 5
log_msg_mapping 2 6 57 4
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/adjacency.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
adj_new 4 24 161 3
adj_del_single 4 18 106 1
adj_del 3 12 82 2
adj_find 6 21 117 1
adj_get_af 3 11 56 1
adj_itimer 4 14 102 3
adj_start_itimer 2 8 48 1
adj_stop_itimer 3 6 37 1
tnbr_new 2 12 100 3
tnbr_del 2 8 41 1
tnbr_find 3 9 65 3
tnbr_check 3 9 47 1
tnbr_update 9 25 143 1
tnbr_update_all 3 7 40 1
tnbr_hello_timer 1 6 35 3
tnbr_start_hello_timer 2 8 48 1
tnbr_stop_hello_timer 3 6 37 1
adj_to_ctl 3 19 121 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mask2prefixlen 2 7 32 1
mask2prefixlen6 11 39 175 1
prefixlen2mask 2 6 33 1
prefixlen2mask6 3 12 82 1
ldp_applymask 6 24 167 4
ldp_addrcmp 5 13 107 3
ldp_addrisset 6 18 80 2
ldp_prefixcmp 11 38 292 4
bad_addr_v4 5 9 62 1
bad_addr_v6 7 11 51 1
bad_addr 3 11 52 2
embedscope 3 14 106 1
recoverscope 3 13 100 1
addscope 3 8 52 2
clearscope 2 7 36 1
addr2sa 3 24 159 3
sa2addr 3 18 106 3
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/neighbor.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
nbr_id_compare 1 4 35 2
nbr_addr_compare 3 8 65 2
nbr_pid_compare 1 4 25 2
nbr_fsm 20 77 426 2
nbr_new 12 54 427 5
nbr_del 3 22 151 1
nbr_update_peerid 4 11 65 1
nbr_find_ldpid 1 6 33 1
nbr_find_addr 1 7 43 2
nbr_find_peerid 1 6 31 1
nbr_adj_count 2 9 50 2
nbr_session_active_role 2 6 40 1
nbr_ktimer 1 6 31 3
nbr_start_ktimer 2 8 55 1
nbr_stop_ktimer 3 6 37 1
nbr_ktimeout 1 6 46 3
nbr_start_ktimeout 2 8 48 1
nbr_stop_ktimeout 3 6 37 1
nbr_itimeout 1 6 42 3
nbr_start_itimeout 2 8 46 1
nbr_stop_itimeout 3 6 37 1
nbr_idtimer 1 6 40 3
nbr_start_idtimer 5 20 92 1
nbr_stop_idtimer 3 6 37 1
nbr_pending_idtimer 2 6 31 1
nbr_pending_connect 3 7 41 1
nbr_connect_cb 3 19 116 3
nbr_establish_connection 13 62 480 1
nbr_gtsm_enabled 6 10 82 2
nbr_gtsm_setup 9 25 148 3
nbr_gtsm_check 5 23 119 3
nbr_act_session_operational 1 13 91 1
nbr_send_labelmappings 1 5 24 1
nbr_params_new 2 9 56 1
nbr_params_find 2 8 51 2
nbr_get_keepalive 3 8 58 2
nbr_to_ctl 2 16 101 1
nbr_clear_ctl 3 12 88 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/l2vpn.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
l2vpn_new 2 12 87 1
l2vpn_find 2 8 53 2
l2vpn_del 3 14 84 1
l2vpn_init 1 6 30 1
l2vpn_exit 1 6 30 1
l2vpn_if_new 2 12 96 2
l2vpn_if_find 2 8 47 2
l2vpn_if_update 4 21 154 1
l2vpn_pw_new 2 10 80 2
l2vpn_pw_find 2 8 47 2
l2vpn_pw_init 1 8 54 1
l2vpn_pw_exit 1 6 41 1
l2vpn_pw_fec 1 8 71 2
l2vpn_pw_reset 3 14 69 1
l2vpn_pw_ok 10 34 234 2
l2vpn_pw_negotiate 11 32 240 3
l2vpn_send_pw_status 1 12 87 3
l2vpn_send_pw_status_wcard 1 15 110 4
l2vpn_recv_pw_status 8 29 196 2
l2vpn_recv_pw_status_wcard 12 39 260 2
l2vpn_sync_pws 6 26 169 2
l2vpn_pw_ctl 1 17 120 1
l2vpn_binding_ctl 9 42 311 1
ldpe_l2vpn_init 1 6 30 1
ldpe_l2vpn_exit 1 6 30 1
ldpe_l2vpn_pw_init 2 11 76 1
ldpe_l2vpn_pw_exit 2 9 46 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/accept.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
accept_init 1 5 26 1
accept_add 2 14 127 3
accept_del 2 12 64 1
accept_pause 1 7 36 1
accept_unpause 2 8 37 1
accept_arm 1 6 32 1
accept_unarm 1 6 30 1
accept_cb 1 6 44 3
accept_timeout 1 5 23 3
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/notification.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_notification_full 10 35 269 2
send_notification 1 10 61 4
send_notification_rtlvs 2 16 111 7
recv_notification 26 123 746 3
gen_status_tlv 1 12 87 4
gen_returned_tlvs 1 15 114 4
log_msg_notification 6 18 133 3
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/init.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_init 3 23 151 1
recv_init 23 126 812 3
send_capability 6 30 168 3
recv_capability 16 86 505 3
gen_init_prms_tlv 1 15 123 2
gen_cap_dynamic_tlv 1 9 63 1
gen_cap_twcard_tlv 2 10 70 2
gen_cap_unotif_tlv 2 10 70 2
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/printconf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_mainconf 5 17 95 1
print_af 7 30 193 3
print_iface 1 7 46 2
print_tnbr 1 7 49 1
print_nbrp 6 17 102 1
print_l2vpn 3 18 114 1
print_pw 3 16 99 1
print_config 3 14 100 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/lde_lib.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fec_init 1 4 14 1
fec_compare 20 50 478 2
fec_find 1 4 26 2
fec_insert 2 6 38 2
fec_remove 2 8 52 2
fec_clear 2 8 51 2
lde_nbr_is_nexthop 2 8 56 2
rt_dump 6 42 281 1
fec_snap 3 17 104 1
fec_free 4 14 96 1
fec_tree_clear 1 4 14 1
fec_add 3 16 106 1
fec_nh_find 4 11 74 4
fec_nh_add 2 14 91 4
fec_nh_del 1 5 21 1
egress_label 5 16 66 1
lde_kernel_insert 11 44 300 6
lde_kernel_remove 5 24 165 4
lde_check_mapping 19 64 446 2
lde_check_request 9 38 250 2
lde_check_request_wcard 8 34 213 2
lde_check_release 12 24 211 2
lde_check_release_wcard 8 20 172 2
lde_check_withdraw 16 42 293 2
lde_check_withdraw_wcard 12 38 244 2
lde_wildcard_apply 17 39 257 3
lde_gc_timer 5 19 123 3
lde_gc_start_timer 2 8 41 1
lde_gc_stop_timer 3 6 30 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/lde.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldpd/kroute.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
kif_init 2 6 26 1
kr_init 10 47 363 2
kif_redistribute 4 14 93 1
kr_change 9 34 275 1
kr_delete 10 30 236 1
kr_shutdown 1 6 18 1
kr_fib_couple 7 29 192 1
kr_fib_decouple 7 34 215 1
kr_change_egress_label 6 30 141 2
kr_dispatch_msg 2 5 28 3
kr_show_route 8 43 288 1
kr_ifinfo 3 10 75 2
kr_redist_remove 2 7 44 1
kr_redist_eval 13 32 198 1
kr_redistribute 2 14 89 1
kroute_compare 6 16 114 2
kroute_find_prefix 1 8 52 3
kroute_find_prio 3 10 63 2
kroute_find_gw 2 8 62 2
kroute_insert 9 44 314 1
kroute_uninstall 3 8 51 1
kroute_remove 7 37 255 1
kroute_clear 4 20 137 1
kif_compare 1 4 29 2
kif_find 1 7 47 1
kif_findname 2 8 49 1
kif_insert 3 11 77 1
kif_remove 3 15 105 1
kif_clear 2 6 32 1
kif_update 9 28 253 5
kroute_match 6 28 141 2
prefixlen_classful 5 13 60 1
get_rtaddrs 3 12 87 3
if_change 5 26 188 4
if_newaddr 13 53 383 4
if_deladdr 15 58 416 4
if_announce 5 19 93 1
send_rtmsg 3 11 67 4
send_rtmsg_v4 16 105 800 4
send_rtmsg_v6 1 4 23 4
fetchtable 4 30 191 1
fetchifs 4 29 182 1
dispatch_rtmsg 5 16 98 1
rtmsg_process 22 72 450 2
rtmsg_process_route 34 109 772 2
kmpw_set 3 14 93 1
kmpw_unset 3 17 102 1
kmpw_install 5 32 218 2
kmpw_uninstall 2 14 101 1
Source file: /home/sergeyb/sources/src/usr.sbin/identd/identd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 25 1
main 34 124 718 2
parent_rd 13 47 251 3
parent_username 1 4 31 2
parent_uid 1 4 34 2
parent_token 3 15 86 2
parent_noident 4 14 92 2
parent_wr 8 34 236 3
child_rd 14 68 398 3
child_wr 9 33 202 3
identd_listen 9 44 343 3
identd_paused 1 5 31 3
identd_accept 9 42 302 3
identd_timeout 2 11 61 3
identd_request 16 53 335 3
identd_error 2 15 116 2
identd_close 1 9 53 1
identd_resolving 6 32 146 3
identd_parse 34 60 377 2
identd_response 13 50 228 3
syslog_vstrerror 2 10 70 4
syslog_err 1 8 45 3
syslog_errx 1 8 43 3
syslog_warn 1 7 37 2
syslog_warnx 1 7 35 2
syslog_notice 1 7 35 2
syslog_debug 2 9 42 2
gethost 2 9 64 1
gentoken 3 13 89 1
fetchuid 5 36 321 1
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpctl/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse 6 24 152 2
match_token 37 97 576 3
show_valid_args 11 32 143 1
parse_asnum 3 12 71 2
parse_addr 4 27 202 3
parse_prefix 13 47 306 4
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpctl/eigrpctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 25 1
main 55 184 1189 2
get_ifms_type 5 15 52 1
show_interface_msg 10 34 231 2
show_interface_detail_msg 10 44 278 2
print_link 2 7 24 1
fmt_timeframe_core 5 29 179 1
show_nbr_msg 9 28 194 2
connected_check 5 16 67 2
show_topology_msg 19 57 417 2
show_topology_detail_msg 22 90 641 2
show_fib_head 1 6 24 1
show_fib_msg 17 56 363 2
show_interface_head 1 5 17 1
get_media_descr 3 8 48 1
get_linkstate 3 11 77 2
print_baudrate 4 11 80 1
show_fib_interface_msg 8 29 179 1
show_stats_msg 8 37 256 2
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 1 5 23 1
log_output 2 7 33 1
log_err 2 17 112 2
log_msg 2 11 61 3
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/timer.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
timer_init 1 4 11 1
timer_next_event 3 15 87 1
timer_run 5 16 115 1
timer_add 5 27 212 4
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/net.h
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/monitor.h
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/carp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
carp_map_state 7 19 58 1
carp_get_state 5 24 143 1
carp_demote 9 39 232 2
carp_state_name 2 7 37 1
carp_update_state 4 17 78 1
carp_check_state 1 4 15 0
carp_set_rfd 2 5 26 1
carp_read 5 15 110 1
carp_read_message 3 6 35 1
carp_init 8 39 241 1
control_setrun 4 10 47 1
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/sasyncd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sasyncd_stop 1 4 10 1
sasyncd_run 11 63 363 1
usage 1 6 25 1
main 21 82 383 2
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/net.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dump_buf 7 22 193 4
net_add_listener 8 37 230 1
net_setup_listeners 30 100 663 1
net_init 5 19 118 1
net_enqueue 3 15 79 2
net_queue 10 80 596 4
net_set_pending_wfds 5 12 89 1
net_set_rfds 6 17 128 1
net_accept 14 50 347 1
net_handle_messages 13 43 268 1
net_send_messages 8 34 222 1
net_disconnect_peer 2 9 45 1
net_shutdown 6 30 176 1
net_read 15 75 520 3
net_set_sa 4 24 165 3
got_sigalrm 1 4 9 1
net_connect 10 46 320 1
net_check_peers 1 5 26 1
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/monitor.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
monitor_init 10 46 314 1
got_sigchld 1 4 11 1
sig_to_child 2 5 25 1
monitor_drain_input 2 9 54 1
monitor_loop 23 71 364 1
monitor_carpundemote 3 10 49 1
monitor_carpdemote 3 10 48 1
monitor_get_pfkey_snap 10 48 297 4
monitor_control_active 3 8 40 1
m_priv_pfkey_snap 17 74 446 1
m_priv_isakmpd_fifocmd 6 26 149 1
m_priv_iked_imsg 6 33 214 1
m_priv_control_activate 5 10 59 1
m_priv_control_passivate 5 10 59 1
m_write 6 18 86 3
m_read 6 18 86 3
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/pfkey.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pfkey_write 6 16 102 2
pfkey_set_promisc 1 13 83 1
pfkey_send_flush 2 17 117 1
pfkey_print_type 2 10 59 1
pfkey_find_ext 4 16 94 2
pfkey_msg_filter 39 78 527 1
pfkey_handle_message 10 33 195 1
pfkey_read 4 24 141 1
pfkey_init 5 16 83 1
pfkey_set_rfd 2 5 26 1
pfkey_set_pending_wfd 3 5 32 1
pfkey_read_message 3 6 35 1
pfkey_send_message 5 14 90 1
pfkey_queue_message 2 21 132 2
pfkey_shutdown 3 11 67 1
pfkey_snapshot 16 62 407 1
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/net_ctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
net_ctl_check_state 6 21 120 2
net_ctl_handle_msg 17 64 351 3
net_ctl_send 2 13 106 4
net_ctl_send_ack 1 4 31 3
net_ctl_send_state 1 4 26 1
net_ctl_send_error 1 4 28 2
net_ctl_send_endsnap 1 4 21 1
net_ctl_update_state 3 12 74 1
Source file: /home/sergeyb/sources/src/usr.sbin/sasyncd/sasyncd.h
Source file: /home/sergeyb/sources/src/usr.sbin/slowcgi/slowcgi.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 25 1
main 25 84 583 2
slowcgi_listen 8 28 234 2
slowcgi_paused 1 5 31 3
accept_reserve 3 17 102 5
slowcgi_accept 9 61 379 3
slowcgi_timeout 1 4 24 3
slowcgi_sig_handler 10 40 214 3
slowcgi_add_response 3 15 103 2
slowcgi_response 9 33 200 3
slowcgi_request 8 38 201 3
parse_begin_request 3 16 87 4
parse_params 18 81 530 4
parse_stdin 4 18 124 4
parse_record 8 33 234 3
exec_cgi 18 94 785 1
create_end_record 2 29 203 1
script_in 9 48 271 4
script_std_in 1 5 35 3
script_err_in 1 5 35 3
script_out 7 28 167 3
cleanup_request 14 53 369 1
dump_fcgi_record 3 10 70 2
dump_fcgi_record_header 1 9 86 2
dump_fcgi_begin_request_body 1 5 39 2
dump_fcgi_end_request_body 1 5 39 2
syslog_vstrerror 2 10 70 4
syslog_err 1 8 45 3
syslog_errx 1 8 43 3
syslog_warn 1 7 37 2
syslog_warnx 1 7 35 2
syslog_info 1 7 35 2
syslog_debug 2 9 42 2
Source file: /home/sergeyb/sources/src/usr.sbin/quot/quot.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
get_inode 20 49 421 3
virtualblocks 3 16 120 2
isfree 9 17 79 2
inituser 4 16 99 1
usrrehash 5 19 124 1
user 8 26 152 1
cmpusers 1 5 36 2
uses 5 16 111 3
initfsizes 3 11 62 1
dofsizes 15 50 383 3
douser 11 36 285 3
donames 18 38 274 3
usage 1 5 18 1
ffs_oldfscompat 4 18 127 1
quot 12 41 260 2
main 28 81 518 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/iso_cksum.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
iso_cksum 6 27 151 3
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 10 48 2
log_procinit 2 5 19 1
log_setverbose 1 4 11 1
log_getverbose 1 4 11 1
logit 1 7 38 3
vlog 3 17 99 3
log_warn 3 21 120 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 41 2
vfatalc 3 17 106 3
fatal 1 8 40 2
fatalx 1 8 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/hello.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_hello 15 62 420 1
recv_hello 37 108 757 5
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/ospfe.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ospfe_sig_handler 3 10 37 3
ospfe 22 108 811 4
ospfe_shutdown 3 29 182 1
ospfe_imsg_compose_parent 1 4 38 4
ospfe_imsg_compose_rde 1 6 41 5
ospfe_dispatch_main 39 151 899 3
ospfe_dispatch_rde 84 228 1395 3
find_vlink 4 16 121 1
orig_rtr_lsa_all 2 7 36 1
orig_rtr_lsa 58 220 1471 1
orig_net_lsa 8 44 367 1
ospfe_router_id 1 4 15 1
ospfe_fib_update 4 10 43 1
ospfe_iface_ctl 3 14 96 2
ospfe_nbr_ctl 2 18 127 1
ospfe_demote_area 4 14 98 2
ospfe_demote_iface 4 17 108 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control_init 6 36 245 1
control_listen 2 12 78 1
control_cleanup 2 8 37 1
control_accept 9 34 268 3
control_connbyfd 2 9 42 1
control_connbypid 2 9 42 1
control_close 3 17 116 1
control_dispatch_imsg 34 93 578 3
control_imsg_relay 2 8 76 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/logmsg.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
nbr_state_name 10 25 92 1
if_state_name 8 21 76 1
if_type_name 6 16 59 1
if_auth_name 4 12 43 1
dst_type_name 3 10 35 1
path_type_name 5 14 51 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/rde.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rde_sig_handler 3 10 37 3
rde 13 79 598 4
rde_shutdown 3 27 172 1
rde_imsg_compose_ospfe 1 6 41 5
rde_dispatch_imsg 87 313 2128 3
rde_dispatch_parent 26 101 647 3
rde_dump_area 1 12 101 3
rde_router_id 1 4 15 1
rde_backbone_area 1 6 26 1
rde_send_change_kroute 5 31 190 1
rde_send_delete_kroute 1 9 66 1
rde_send_summary 2 25 173 1
rde_send_summary_area 3 22 166 2
rde_nbr_init 5 21 161 1
rde_nbr_free 1 5 18 1
rde_nbr_find 2 11 52 1
rde_nbr_new 6 28 198 2
rde_nbr_iface_del 3 13 77 1
rde_nbr_del 2 9 41 1
rde_nbr_loading 7 22 110 1
rde_nbr_self 2 9 46 1
rde_req_list_add 2 10 79 2
rde_req_list_exists 4 11 74 2
rde_req_list_del 4 13 85 2
rde_req_list_free 2 8 49 1
asext_compare 5 12 116 2
asext_find 1 7 46 2
rde_asext_lookup 4 14 100 2
rde_asext_get 11 62 501 1
rde_asext_put 3 22 163 1
rde_asext_free 2 9 63 1
orig_asext_lsa 6 32 304 3
rde_summary_update 18 44 308 2
orig_sum_lsa 4 24 222 4
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/rde_spf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
spf_calc 19 89 521 1
rt_calc 18 78 673 3
asext_calc 15 59 448 1
spf_tree_clr 1 9 45 1
calc_nexthop 16 67 373 4
cand_list_init 1 4 12 1
cand_list_add 5 15 96 1
cand_list_pop 2 8 42 1
cand_list_present 2 9 41 1
cand_list_clr 2 7 37 1
spf_timer 8 49 248 3
start_spf_timer 6 23 108 1
stop_spf_timer 2 5 27 1
start_spf_holdtimer 6 20 104 1
rt_init 1 4 12 1
rt_compare 7 16 132 2
rt_find 1 8 52 3
rt_insert 2 10 57 1
rt_remove 2 11 62 1
rt_invalidate 11 30 202 1
rt_nexthop_clear 2 8 49 1
rt_nexthop_add 8 32 242 4
rt_clear 2 6 32 1
rt_dump 13 53 319 3
rt_update 23 69 438 12
rt_lookup 7 17 107 2
get_rtr_link 4 18 136 2
get_net_link 4 17 126 2
linked 12 42 226 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/interface.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
if_fsm 16 55 353 2
if_new 8 43 312 2
if_del 6 17 138 1
if_init 1 9 80 2
if_hello_timer 3 13 84 3
if_start_hello_timer 2 7 40 1
if_stop_hello_timer 2 5 27 1
if_wait_timer 1 5 28 3
if_start_wait_timer 2 8 48 1
if_stop_wait_timer 2 5 27 1
if_act_start 17 54 297 1
if_elect 4 10 74 2
if_act_elect 43 89 705 1
if_act_reset 9 43 216 1
if_to_ctl 8 66 578 1
if_set_recvif 2 9 49 2
if_set_sockbuf 5 16 96 1
if_join_group 12 41 260 2
if_leave_group 11 38 218 2
if_set_mcast 7 23 117 1
if_set_mcast_loop 2 10 55 1
if_set_ip_hdrincl 2 9 51 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/auth.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
auth_validate 14 80 511 4
auth_gen 7 47 359 2
md_list_add 3 13 111 3
md_list_copy 2 12 96 2
md_list_clr 2 8 43 1
md_list_find 2 8 43 2
md_list_send 2 9 65 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/name2id.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rtlabel_name2id 1 4 20 1
rtlabel_id2name 1 4 18 1
rtlabel_id2tag 1 4 18 1
rtlabel_tag2id 1 4 18 1
rtlabel_tag 1 4 20 2
rtlabel_unref 1 4 15 1
_name2id 10 35 238 2
_id2name 3 10 56 2
_id2tag 3 10 56 2
_tag2id 3 10 56 2
_tag 3 9 50 3
_unref 5 17 100 2
_ref 3 11 50 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/lsack.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
prepare_ls_ack 3 14 80 1
send_ls_ack 2 14 90 3
send_direct_ack 3 15 97 4
recv_ls_ack 14 38 195 3
lsa_hdr_check 9 26 140 2
ls_ack_list_add 5 15 108 2
ls_ack_list_free 1 7 43 2
ls_ack_list_clr 2 10 62 1
ls_ack_list_empty 1 4 20 1
ls_ack_tx_timer 15 57 314 3
start_ls_ack_tx_timer 2 8 50 1
start_ls_ack_tx_timer_now 2 7 40 1
stop_ls_ack_tx_timer 2 5 27 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/rde.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/carp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
carp_group_find 2 8 44 1
carp_demote_init 7 25 162 2
carp_demote_shutdown 4 11 73 1
carp_demote_get 4 21 140 1
carp_demote_set 7 18 118 2
carp_demote_ioctl 5 21 154 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/ospf.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/packet.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
gen_ospf_hdr 2 12 99 3
send_packet 5 37 293 3
recv_packet 25 115 691 3
ip_hdr_sanity_check 3 11 67 2
ospf_hdr_sanity_check 12 43 279 4
find_iface 10 29 170 3
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/lsupdate.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lsa_flood 30 81 501 4
prepare_ls_update 4 16 101 1
add_ls_update 5 24 186 5
send_ls_update 2 21 140 4
recv_ls_update 17 54 301 3
ls_retrans_list_add 5 21 159 4
ls_retrans_list_del 5 13 104 2
ls_retrans_list_get 4 11 86 2
ls_retrans_list_insert 2 17 101 2
ls_retrans_list_remove 8 21 163 2
ls_retrans_list_free 1 6 35 2
ls_retrans_list_clr 2 7 43 1
ls_retrans_timer 18 77 524 3
lsa_cache_init 4 13 99 1
lsa_hash_hdr 1 4 25 1
lsa_cache_add 4 24 193 2
lsa_cache_get 2 8 35 1
lsa_cache_put 3 11 78 2
lsa_cache_look 2 11 76 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/control.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/area.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
area_new 2 11 76 1
area_del 6 25 186 1
area_find 2 10 55 2
area_track 3 17 102 1
area_border_router 2 9 46 1
area_ospf_options 3 7 32 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/ospfe.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/ospfd.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/neighbor.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
nbr_fsm 27 92 527 2
nbr_init 5 24 186 1
nbr_new 4 42 341 3
nbr_del 7 21 166 1
nbr_find_peerid 2 11 52 1
nbr_find_id 2 9 52 2
nbr_itimer 2 8 42 3
nbr_start_itimer 2 8 50 1
nbr_stop_itimer 2 5 27 1
nbr_reset_itimer 2 8 50 1
nbr_adj_timer 4 11 76 3
nbr_start_adj_timer 2 8 46 1
nbr_act_reset_itimer 1 5 19 1
nbr_act_start_itimer 1 5 19 1
nbr_adj_ok 9 19 82 1
nbr_act_eval 2 14 68 1
nbr_act_snapshot 2 15 98 1
nbr_act_exchange_done 6 14 76 1
nbr_act_adj_ok 3 11 56 1
nbr_act_restart_dd 2 15 78 1
nbr_act_delete 3 20 121 1
nbr_act_clear_lists 1 9 39 1
nbr_act_hello_check 1 5 27 1
nbr_to_ctl 7 43 392 1
lsa_hdr_new 2 7 42 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/lsreq.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_ls_req 12 46 306 1
recv_ls_req 10 23 102 3
ls_req_list_add 3 11 77 2
ls_req_list_get 4 11 80 2
ls_req_list_free 7 17 117 2
ls_req_list_clr 2 11 68 1
ls_req_list_empty 1 4 20 1
ls_req_tx_timer 12 30 135 3
start_ls_req_tx_timer 3 9 52 1
stop_ls_req_tx_timer 3 7 39 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/in_cksum.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
in_cksum 6 28 172 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/ospfd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main_sig_handler 5 16 62 3
usage 1 8 26 1
main 27 137 871 2
ospfd_shutdown 10 33 215 1
main_dispatch_ospfe 26 78 430 3
main_dispatch_rde 17 52 286 3
main_imsg_compose_ospfe 2 5 39 4
main_imsg_compose_rde 2 5 39 4
imsg_event_add 2 9 73 1
imsg_compose_event 2 9 70 7
ospf_redistribute 28 62 373 2
ospf_reload 8 33 240 1
ospf_sendboth 3 8 78 3
merge_config 29 107 716 2
merge_interfaces 13 65 490 2
iface_lookup 4 10 74 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/database.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_db_description 25 100 575 1
recv_db_description 38 150 872 3
db_sum_list_add 2 8 61 2
db_sum_list_next 2 9 58 1
db_sum_list_clr 1 5 20 1
db_tx_timer 12 29 130 3
start_db_tx_timer 3 9 52 1
stop_db_tx_timer 3 7 39 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/rde_lsdb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lsa_init 1 4 13 1
lsa_compare 7 16 112 2
vertex_get 3 23 188 3
vertex_free 1 8 48 1
vertex_nexthop_clear 2 8 47 1
vertex_nexthop_add 2 9 72 3
lsa_newer 13 34 226 2
lsa_check 33 87 570 3
lsa_router_check 8 38 230 2
lsa_self 7 26 206 3
lsa_add 16 48 369 2
lsa_del 3 13 91 2
lsa_age 3 21 108 1
lsa_find 4 12 74 4
lsa_find_area 1 5 33 4
lsa_find_tree 4 15 90 4
lsa_find_net 4 15 87 2
lsa_num_links 3 12 79 1
lsa_snap 11 35 201 1
lsa_dump 19 48 213 3
lsa_timeout 9 31 229 3
lsa_refresh 5 24 205 1
lsa_merge 8 35 243 3
lsa_remove_invalid_sums 7 15 115 1
lsa_generate_stub_sums 8 32 217 1
lsa_equal 8 15 136 2
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/printconf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_mainconf 4 18 101 1
print_no 2 7 24 1
print_redistribute 7 29 171 1
print_rtlabel 2 8 42 1
print_iface 7 42 224 1
print_config 4 27 146 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospfd/kroute.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
kif_init 2 6 26 1
kr_init 9 38 273 2
kr_change_fib 20 58 441 4
kr_change 4 10 84 2
kr_delete_fib 4 11 91 1
kr_delete 4 14 84 1
kr_shutdown 1 6 18 1
kr_fib_couple 4 13 86 1
kr_fib_decouple 4 13 86 1
kr_fib_reload_timer 2 10 48 3
kr_fib_reload_arm_timer 2 9 58 1
kr_fib_reload 8 23 157 0
kr_dispatch_msg 2 5 28 3
kr_show_route 9 42 258 1
kr_ifinfo 3 10 75 2
kr_redist_remove 5 14 97 2
kr_redist_eval 12 30 198 2
kr_redistribute 6 23 154 1
kr_reload 6 16 90 1
kroute_compare 9 18 179 2
kif_compare 1 4 29 2
kroute_find 5 20 128 3
kroute_matchgw 3 11 56 2
kroute_insert 5 23 146 1
kroute_remove 9 37 258 1
kroute_clear 2 6 32 1
kif_find 1 7 44 1
kif_findname 5 19 123 3
kif_insert 3 11 76 1
kif_remove 3 14 86 1
kif_clear 2 6 32 1
kif_update 8 26 220 4
kif_validate 2 9 48 1
kroute_match 4 12 82 1
protect_lo 3 14 100 1
prefixlen_classful 5 13 60 1
mask2prefixlen 2 7 32 1
prefixlen2mask 2 6 33 1
get_rtaddrs 3 12 87 3
if_change 7 28 181 4
if_newaddr 7 24 156 4
if_deladdr 6 25 172 4
if_announce 3 16 85 1
send_rtmsg 10 85 628 3
fetchtable 4 30 191 1
fetchifs 4 29 183 1
dispatch_rtmsg 5 16 96 1
rtmsg_process 58 235 1369 2
Source file: /home/sergeyb/sources/src/usr.sbin/rebound/rebound.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
logmsg 4 15 83 3
logerr 4 17 93 2
cachecmp 3 6 54 2
lowercase 2 7 30 2
randomcase 4 16 101 2
freecacheent 1 9 52 1
dnamelen 4 11 70 2
adjustttl 9 46 297 1
cachelookup 3 23 140 3
freerequest 7 19 111 1
servfail 1 8 74 4
newrequest 16 80 605 2
minttl 8 36 234 2
sendreply 14 45 342 1
tcpphasetwo 5 19 130 1
newtcprequest 8 35 209 2
readconfig 7 36 274 2
workerinit 11 30 237 1
workerloop 36 133 1076 5
openconfig 3 14 90 2
reexec 8 17 98 5
monitorloop 15 73 467 5
resetport 1 6 42 1
usage 1 5 18 1
main 22 87 731 2
Source file: /home/sergeyb/sources/src/usr.sbin/rebound/randomid.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
randomid 4 24 148 1
Source file: /home/sergeyb/sources/src/usr.sbin/yppoll/yppoll.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 5 18 1
get_remote_info 8 56 396 5
main 8 41 240 2
Source file: /home/sergeyb/sources/src/usr.sbin/fdformat/fdformat.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
format_track 5 30 238 9
verify_track 9 32 211 3
usage 1 24 108 1
yes 11 16 117 1
main 57 165 1051 2
Source file: /home/sergeyb/sources/src/usr.sbin/mkuboot/copy_elf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ELFNAME( copy_elf) 50 175 1620 6
Source file: /home/sergeyb/sources/src/usr.sbin/mkuboot/mkuboot.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 30 116 870 2
is_elf 7 19 129 2
copy_data 5 18 136 7
copy_mem 4 16 112 6
fill_zeroes 4 17 115 5
copy_raw 4 15 119 6
usage 3 19 130 1
Source file: /home/sergeyb/sources/src/usr.sbin/mkuboot/copy_elf64.c
Source file: /home/sergeyb/sources/src/usr.sbin/mkuboot/copy_elf32.c
Source file: /home/sergeyb/sources/src/usr.sbin/acpidump/acpidump.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
acpi_checksum 2 10 42 2
acpi_user_find_mapping 6 21 177 2
acpi_map_physical 1 6 39 2
acpi_user_init 3 9 44 1
acpi_find_rsd_ptr 7 30 223 1
acpi_print_string 5 10 63 2
acpi_print_rsd_ptr 1 8 54 1
acpi_map_sdt 1 7 41 1
aml_dump 3 19 146 1
acpi_print_sdt 2 18 148 1
acpi_print_rsdt 3 15 104 1
acpi_print_facp 10 67 459 1
acpi_print_dsdt 1 4 14 1
acpi_handle_dsdt 1 8 44 1
acpi_handle_facp 2 10 61 1
acpi_handle_rsdt 4 20 138 1
asl_dump_from_devmem 7 24 163 1
usage 1 6 25 1
main 6 21 105 2
bios_acpi_addr 6 24 165 1
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/moptrace/moptrace.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 13 35 155 2
Usage 1 5 19 0
mopProcess 5 14 108 2
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/mopa.out/mopa.out.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 27 103 790 2
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/mopprobe/mopprobe.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 14 38 165 2
Usage 1 5 19 0
mopProcess 48 143 816 2
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/mopchk/mopchk.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 23 80 477 2
Usage 1 5 19 0
mopProcess 1 5 17 2
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/device.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/mopdef.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/get.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mopGetChar 1 7 36 2
mopGetShort 1 7 46 2
mopGetNShort 1 7 46 2
mopGetLong 1 8 66 2
mopGetMulti 2 7 56 4
mopGetTrans 3 12 56 2
mopGetHeader 3 18 121 7
mopGetLength 3 10 58 2
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/pf.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/dl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mopDumpDL 43 202 1354 3
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/dl.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/rc.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/print.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mopPrintHWA 7 11 145 2
mopPrintBPTY 3 14 53 2
mopPrintPGTY 5 20 77 2
mopPrintOneline 33 138 614 3
mopPrintHeader 9 52 274 3
mopPrintMopHeader 25 100 420 3
mopPrintDevice 1 7 49 2
mopPrintTime 1 6 71 2
mopPrintInfo 58 223 1340 6
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/pf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pfTrans 1 4 17 1
pfInit 11 63 454 4
pfAddMulti 3 20 153 3
pfDelMulti 3 20 153 3
pfRead 1 4 26 3
pfWrite 3 21 143 4
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/cmp.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/os.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/file.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
FileTypeName 5 14 49 1
mopFilePutLX 2 8 52 4
mopFilePutBX 2 8 56 4
mopFileGetLX 3 12 74 3
mopFileGetBX 3 12 70 3
mopFileGetLXX 3 12 74 3
mopFileGetBXX 3 12 70 3
mopFileSwapX 2 10 79 3
CheckMopFile 9 22 113 1
GetMopFileInfo 17 120 856 2
getMID 19 40 122 2
getCLBYTES 23 25 75 1
CheckElfFile 9 17 136 1
GetElf32FileInfo 23 152 1169 2
GetElf64FileInfo 26 154 1173 2
CheckAOutFile 6 21 171 1
GetAOutFileInfo 59 152 1057 2
GetFileInfo 8 31 171 2
mopFileRead 29 129 855 2
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/nma.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
nmaGetShort 3 11 46 1
nmaGetDevice 3 11 46 1
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/file.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/nma.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/cmp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mopCmpEAddr 1 4 24 2
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/put.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mopPutChar 1 5 29 3
mopPutShort 1 6 42 3
mopPutNShort 1 6 42 3
mopPutLong 2 9 59 3
mopPutMulti 2 7 53 4
mopPutTime 2 21 184 3
mopPutHeader 5 23 172 6
mopPutLength 4 15 77 3
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/device.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
deviceEthAddr 7 22 145 2
deviceOpen 7 47 363 3
deviceInitOne 19 60 408 1
deviceInitAll 12 33 199 0
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/print.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/get.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/loop-bsd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mopOpenRC 1 5 39 2
mopOpenDL 1 5 39 2
mopReadRC 1 3 6 1
mopReadDL 1 3 6 1
Loop 19 63 404 1
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/common.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/mopdef.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mopdef_dummy 1 5 34 1
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/put.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/nmadef.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/common/rc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mopDumpRC 45 208 1503 3
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/mopd/process.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/mopd/process.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mopProcessInfo 29 76 365 5
mopSendASV 6 20 150 4
mopStartLoad 18 54 514 4
mopNextLoad 17 82 734 4
mopProcessDL 24 107 758 8
mopProcessRC 15 51 281 8
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/mopd/mopd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 28 69 400 2
Usage 1 6 19 0
mopProcess 8 23 164 2
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/otherOS/os-linux2.h
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/otherOS/loop.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mopOpenRC 2 16 76 2
mopOpenDL 2 16 76 2
mopReadRC 3 13 63 2
mopReadDL 3 13 63 2
Loop 10 32 214 0
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/otherOS/pf-snit.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pfTrans 1 5 17 1
pfInit 8 47 318 4
setup_pf 3 38 273 3
pfEthAddr 2 14 88 2
pfAddMulti 3 22 159 3
pfDelMulti 3 22 159 3
pfRead 1 6 31 3
pfWrite 2 20 134 4
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/otherOS/loop-linux2.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mopOpenRC 1 10 41 2
mopOpenDL 1 10 41 2
mopReadRC 1 3 5 0
mopReadDL 1 3 5 0
Loop 15 51 314 0
Source file: /home/sergeyb/sources/src/usr.sbin/mopd/otherOS/os-sunos4.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/list.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/version.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/int.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/ipv6.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/lang.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/lwbuffer.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/lwpacket.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/lwres.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/result.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/stdlib.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/include/lwres/context.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/unix/include/lwres/net.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/getaddrinfo.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_getaddrinfo 80 230 1435 4
lwres_strsep 5 19 118 2
set_order 12 38 219 2
add_ipv4 13 61 381 5
add_ipv6 13 61 381 5
lwres_freeaddrinfo 4 12 65 1
get_local 3 14 103 3
ai_alloc 4 16 111 2
ai_clone 4 17 114 2
ai_reverse 2 11 54 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/getipnode.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_getipnodebyname 45 108 790 4
lwres_getipnodebyaddr 23 89 543 4
lwres_freehostent 3 22 108 1
scan_interfaces6 34 93 625 2
scan_interfaces 43 108 753 2
copyandmerge 34 121 713 4
hostfromaddr 19 56 428 3
hostfromname 18 59 446 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/version.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/gethost.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_gethostbyname 2 6 39 1
lwres_gethostbyname2 2 6 42 2
lwres_gethostbyaddr 2 6 45 3
lwres_gethostent 2 5 22 1
lwres_sethostent 1 3 12 1
lwres_endhostent 1 2 6 1
lwres_gethostbyname_r 3 16 97 5
lwres_gethostbyaddr_r 3 17 103 7
lwres_gethostent_r 1 7 45 4
lwres_sethostent_r 1 3 12 1
lwres_endhostent_r 1 2 6 1
copytobuf 8 54 407 4
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwres_gabn.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_gabnrequest_render 3 42 279 4
lwres_gabnresponse_render 7 70 491 4
lwres_gabnrequest_parse 7 34 214 4
lwres_gabnresponse_parse 20 96 615 4
lwres_gabnrequest_free 2 9 55 2
lwres_gabnresponse_free 5 23 168 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/context_p.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwresutil.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_data_parse 5 18 113 3
lwres_string_parse 7 22 144 3
lwres_addr_parse 4 14 100 2
lwres_getaddrsbyname 14 80 483 4
lwres_getnamebyaddr 13 76 462 5
lwres_getrdatabyname 14 81 488 6
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/print.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres__print_sprintf 1 7 47 3
lwres__print_snprintf 1 8 54 4
lwres__print_vsnprintf 155 460 2287 4
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/context.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_context_create 5 27 155 5
lwres_context_destroy 4 12 76 1
lwres_context_nextserial 1 4 23 1
lwres_context_initserial 1 4 24 2
lwres_context_freemem 1 5 36 3
lwres_context_allocmem 1 4 26 2
lwres_malloc 2 9 52 2
lwres_free 1 5 34 3
context_connect 11 60 414 1
lwres_context_getsocket 1 3 15 1
lwres_context_send 5 16 96 3
lwres_context_recv 12 38 256 4
lwres_context_sendrecv 6 30 178 6
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwres_grbn.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_grbnrequest_render 3 43 290 4
lwres_grbnresponse_render 7 61 468 4
lwres_grbnrequest_parse 7 36 231 4
lwres_grbnresponse_parse 22 98 664 4
lwres_grbnrequest_free 2 9 55 2
lwres_grbnresponse_free 5 20 160 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwinetaton.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_net_aton 31 76 488 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwres_gnba.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_gnbarequest_render 3 41 286 4
lwres_gnbaresponse_render 5 52 355 4
lwres_gnbarequest_parse 8 31 192 4
lwres_gnbaresponse_parse 15 65 417 4
lwres_gnbarequest_free 2 9 55 2
lwres_gnbaresponse_free 4 16 117 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/assert_p.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwinetpton.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_net_pton 3 11 60 3
inet_pton4 10 32 210 2
inet_pton6 19 71 464 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwres_noop.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_nooprequest_render 3 36 229 4
lwres_noopresponse_render 3 35 223 4
lwres_nooprequest_parse 7 35 216 4
lwres_noopresponse_parse 7 35 216 4
lwres_noopresponse_free 2 9 55 2
lwres_nooprequest_free 2 9 55 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwinetntop.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_net_ntop 4 11 66 4
inet_ntop4 3 14 118 3
inet_ntop6 28 64 542 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwbuffer.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_buffer_init 1 10 59 3
lwres_buffer_invalidate 1 10 52 1
lwres_buffer_add 1 6 39 2
lwres_buffer_subtract 3 10 71 2
lwres_buffer_clear 1 7 34 1
lwres_buffer_first 1 5 22 1
lwres_buffer_forward 1 6 39 2
lwres_buffer_back 1 6 35 2
lwres_buffer_getuint8 1 12 75 1
lwres_buffer_putuint8 1 10 66 2
lwres_buffer_getuint16 1 13 93 1
lwres_buffer_putuint16 1 11 80 2
lwres_buffer_getuint32 1 15 129 1
lwres_buffer_putuint32 1 13 130 2
lwres_buffer_putmem 1 10 74 3
lwres_buffer_getmem 1 11 70 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwpacket.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_lwpacket_renderheader 2 16 127 2
lwres_lwpacket_parseheader 3 20 146 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/print_p.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/getrrset.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwresult_to_result 5 9 52 1
sane_malloc 2 5 25 1
sane_calloc 2 7 46 2
lwres_getrrsetbyname 19 109 716 5
lwres_freerrset 5 17 127 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/strtoul.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_strtoul 25 52 346 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/herror.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_herror 1 3 23 1
lwres_hstrerror 3 7 38 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/lwconfig.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwresaddr2af 3 13 41 1
eatline 3 7 40 1
eatwhite 6 9 66 1
getword 6 20 133 3
lwres_resetaddr 1 6 38 1
lwres_strdup 2 11 75 2
lwres_conf_init 4 24 175 1
lwres_conf_clear 6 34 248 1
lwres_conf_parsenameserver 14 45 298 2
lwres_conf_parselwserver 8 20 142 2
lwres_conf_parsedomain 10 28 213 2
lwres_conf_parsesearch 10 38 257 2
lwres_create_addr 5 22 186 3
lwres_conf_parsesortlist 10 39 273 2
lwres_conf_parseoption 11 31 222 2
lwres_conf_parse 14 48 326 2
lwres_conf_print 16 72 577 2
lwres_conf_get 1 4 23 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/getnameinfo.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_getnameinfo 52 151 1000 7
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/lwres/gai_strerror.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lwres_gai_strerror 3 12 72 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/include/isccfg/version.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/include/isccfg/aclconf.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/include/isccfg/namedconf.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/include/isccfg/grammar.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/include/isccfg/cfg.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/include/isccfg/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/version.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cfg_log_init 1 5 29 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/namedconf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_none 1 4 27 2
parse_qstringornone 3 13 89 3
doc_qstringornone 1 4 27 2
print_hostname 1 4 27 2
parse_serverid 5 17 126 3
doc_serverid 1 4 27 2
parse_port 2 12 79 3
parse_unitstring 11 34 167 2
parse_sizeval 2 19 125 3
parse_size 1 3 32 3
parse_maybe_optional_keyvalue 4 26 166 4
parse_enum_or_other 3 14 93 4
doc_enum_or_other 2 4 30 2
parse_keyvalue 1 3 31 3
parse_optional_keyvalue 1 3 31 3
print_keyvalue 1 6 53 2
doc_keyvalue 1 6 49 2
doc_optional_keyvalue 1 8 67 2
parse_dialup_type 1 3 32 3
parse_notify_type 1 3 32 3
parse_ixfrdiff_type 1 3 32 3
parse_optional_class 2 11 79 3
parse_querysource 12 56 351 3
print_querysource 1 8 70 2
parse_addrmatchelt 9 37 249 3
print_negated 1 4 29 2
parse_server_key_kludge 6 22 151 3
parse_optional_facility 3 14 91 3
parse_logseverity 4 21 163 3
parse_logversions 1 3 32 3
parse_logfile 9 37 315 3
print_logfile 3 11 111 2
doc_sockaddrnameport 1 16 123 2
parse_sockaddrnameport 4 32 199 3
doc_masterselement 1 14 107 2
parse_masterselement 4 22 128 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cfg_print_obj 1 3 24 2
cfg_print_chars 1 3 29 3
print_open 1 4 22 1
print_indent 2 7 35 1
print_close 1 5 27 1
cfg_parse_obj 3 9 69 3
cfg_print 1 10 65 3
cfg_create_tuple 5 25 191 3
cfg_parse_tuple 2 16 123 3
cfg_print_tuple 3 13 109 2
cfg_doc_tuple 3 11 84 2
free_tuple 3 14 110 2
cfg_obj_istuple 1 4 31 1
cfg_tuple_get 4 13 111 2
cfg_parse_special 3 11 72 2
parse_semicolon 3 11 67 1
parse_eof 2 10 57 1
cfg_parser_create 4 46 336 3
parser_openfile 2 19 131 2
cfg_parser_setcallback 1 7 27 3
parse2 4 20 111 3
cfg_parse_file 1 10 61 4
cfg_parse_buffer 1 10 62 4
cfg_parser_destroy 1 8 57 1
cfg_parse_void 1 4 35 3
cfg_print_void 1 4 23 2
cfg_doc_void 1 4 23 2
cfg_obj_isvoid 1 4 31 1
cfg_parse_uint32 2 15 109 3
cfg_print_cstr 1 3 25 2
cfg_print_rawuint 1 5 39 2
cfg_print_uint32 1 3 24 2
cfg_obj_isuint32 1 4 31 1
cfg_obj_asuint32 2 4 34 1
cfg_obj_isuint64 1 4 31 1
cfg_obj_asuint64 2 4 34 1
cfg_print_uint64 1 6 46 2
create_string 2 20 157 4
cfg_parse_qstring 2 15 86 3
parse_ustring 2 15 86 3
cfg_parse_astring 1 13 58 3
cfg_is_enum 3 8 61 2
check_enum 2 7 62 3
cfg_parse_enum 1 11 75 3
cfg_doc_enum 3 10 82 2
cfg_print_ustring 1 3 34 2
print_qstring 1 5 38 2
free_string 1 4 37 2
cfg_obj_isstring 1 4 31 1
cfg_obj_asstring 2 4 36 1
cfg_obj_isboolean 1 4 31 1
cfg_obj_asboolean 2 4 34 1
parse_boolean 9 32 229 3
print_boolean 2 6 40 2
cfg_create_list 1 7 51 3
create_listelt 2 10 65 2
free_list_elt 1 4 37 2
free_list 2 10 58 2
cfg_parse_listelt 2 17 102 3
parse_list 5 25 166 3
print_list 2 11 78 2
cfg_parse_bracketed_list 1 10 59 3
cfg_print_bracketed_list 1 5 30 2
cfg_doc_bracketed_list 1 5 40 2
cfg_parse_spacelist 4 22 141 3
cfg_print_spacelist 3 11 84 2
cfg_obj_islist 1 4 31 1
cfg_list_first 3 6 48 1
cfg_list_next 1 4 26 1
cfg_listelt_value 1 4 23 1
cfg_parse_mapbody 17 118 727 3
parse_symtab_elt 3 19 114 5
cfg_parse_map 1 8 59 3
parse_any_named_map 1 15 93 4
cfg_parse_named_map 1 3 32 3
cfg_parse_addressed_map 1 3 32 3
cfg_parse_netprefix_map 1 3 32 3
cfg_print_mapbody 7 43 263 2
cfg_doc_mapbody 3 15 106 2
cfg_print_map 2 9 66 2
print_clause_flags 4 14 89 2
cfg_doc_map 7 30 223 2
cfg_obj_ismap 1 4 31 1
cfg_map_get 4 14 113 3
cfg_map_getname 2 4 36 1
parse_token 4 28 223 3
parse_unsupported 9 32 219 3
token_addr 19 65 419 3
cfg_parse_rawaddr 6 27 158 3
cfg_lookingat_netaddr 1 6 40 2
cfg_parse_rawport 6 24 153 3
cfg_print_rawaddr 1 9 72 2
parse_netaddr 1 14 107 3
cfg_doc_netaddr 10 24 159 2
cfg_parse_netprefix 7 50 273 3
print_netprefix 1 6 53 2
cfg_obj_isnetprefix 1 4 31 1
cfg_obj_asnetprefix 2 6 56 3
parse_sockaddrsub 3 22 157 4
cfg_parse_sockaddr 1 4 43 3
cfg_print_sockaddr 2 13 94 2
cfg_doc_sockaddr 7 27 161 2
cfg_obj_issockaddr 1 4 31 1
cfg_obj_assockaddr 2 4 35 1
cfg_gettoken 8 44 251 2
cfg_ungettoken 2 6 34 1
cfg_peektoken 1 7 36 2
cfg_getstringtoken 4 12 70 1
cfg_parser_error 1 7 52 4
cfg_parser_warning 1 7 52 4
current_file 3 13 88 1
parser_complain 11 49 342 5
cfg_obj_log 3 14 101 5
cfg_obj_file 1 3 16 1
cfg_obj_line 1 3 16 1
cfg_create_obj 2 11 79 3
map_symtabitem_destroy 1 9 55 4
create_map 2 17 124 3
free_map 1 4 35 2
cfg_obj_istype 1 3 26 2
cfg_obj_destroy 1 6 51 2
free_noop 1 4 22 2
cfg_doc_obj 1 3 22 2
cfg_doc_terminal 1 5 40 2
cfg_print_grammar 1 10 61 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccfg/aclconf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cfg_aclconfctx_init 1 3 15 1
cfg_aclconfctx_destroy 2 10 51 1
get_acl_def 4 19 137 3
convert_named_acl 7 47 327 6
convert_keyname 2 22 137 4
cfg_acl_fromconfig 17 86 532 6
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/mips/include/isc/atomic.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_atomic_xadd 1 15 50 2
isc_atomic_store 1 12 37 2
isc_atomic_cmpxchg 1 17 60 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/noatomic/include/isc/atomic.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/assertions.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/list.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/interfaceiter.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/types.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/ratelimiter.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/formatcheck.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/msgs.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/parseint.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/version.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/netscope.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/boolean.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/ipv6.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/taskpool.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/lang.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/mem.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/mutexblock.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/lex.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/buffer.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/serial.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/event.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/os.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/hash.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/region.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/util.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/timer.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/sha2.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/socket.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/error.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/app.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/resource.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/fsaccess.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/entropy.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/lfsr.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/base32.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/msgcat.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/sha1.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/symtab.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/file.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/random.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/task.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/bitstring.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/ondestroy.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/eventclass.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/hmacmd5.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/hmacsha.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/result.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/string.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/stdlib.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/hex.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/bufferlist.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/magic.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/print.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/rwlock.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/resultclass.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/quota.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/heap.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/netaddr.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/iterated_hash.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/refcount.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/lib.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/md5.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/sockaddr.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/base64.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/stdio.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/commandline.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/include/isc/shuffle.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/sparc64/include/isc/atomic.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_atomic_xadd 3 13 80 2
isc_atomic_store 3 13 75 2
isc_atomic_cmpxchg 1 8 50 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/alpha/include/isc/atomic.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_atomic_xadd 1 9 28 2
isc_atomic_store 1 8 27 2
isc_atomic_cmpxchg 1 12 36 3
isc_atomic_xadd 1 14 55 2
isc_atomic_store 1 12 42 2
isc_atomic_cmpxchg 1 17 66 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/x86_64/include/isc/atomic.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_atomic_xadd 2 10 29 2
isc_atomic_store 2 10 29 2
isc_atomic_cmpxchg 2 12 38 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/int.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/strerror.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/stdtime.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/syslog.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/stat.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/net.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/offset.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/time.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/netdb.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/keyboard.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/dir.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/include/isc/privsep.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/stdio.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_stdio_open 2 8 55 3
isc_stdio_close 2 8 38 1
isc_stdio_seek 2 8 48 3
isc_stdio_read 4 15 91 5
isc_stdio_write 3 13 78 5
isc_stdio_flush 2 8 38 1
isc_stdio_sync 2 8 41 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/ipv6.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/socket.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
manager_log 2 14 90 6
socket_log 3 24 164 10
wakeup_socket 6 18 137 3
select_poke 7 24 149 3
select_readmsg 3 23 139 3
select_poke 3 7 40 3
make_nonblock 4 19 114 1
cmsg_len 2 6 42 1
cmsg_space 3 16 121 1
process_cmsg 21 48 305 3
build_msghdr_send 12 77 543 5
build_msghdr_recv 19 78 609 5
set_dev_address 4 13 74 3
destroy_socketevent 1 5 37 1
allocate_socketevent 2 21 128 4
dump_msg 3 12 103 1
doio_recv 21 81 519 2
doio_send 8 47 306 2
destroy 4 20 178 1
allocate_socket 12 70 464 3
free_socket 3 23 191 1
clear_bsdcompat 6 14 93 1
isc_socket_create 55 184 1116 4
isc_socket_attach 2 8 58 2
isc_socket_detach 3 16 94 1
dispatch_recv 2 17 114 1
dispatch_send 2 17 114 1
dispatch_accept 2 15 91 1
dispatch_connect 1 13 80 1
send_recvdone_event 3 12 95 2
send_senddone_event 4 13 107 2
internal_accept 33 160 909 2
internal_recv 9 43 258 2
internal_send 7 36 223 2
process_fds 16 56 316 4
watcher 9 63 331 1
isc__socketmgr_setreserved 1 4 25 2
create_fdsets 8 37 268 2
cleanup_fdsets 7 18 162 2
expand_fdsets 21 77 681 3
isc_socketmgr_create 14 79 594 2
isc_socketmgr_destroy 10 48 321 1
socket_recv 12 47 266 4
isc_socket_recvv 5 38 239 6
isc_socket_recv 2 15 114 6
isc_socket_recv2 3 21 124 6
socket_send 15 62 358 6
isc_socket_send 1 6 44 5
isc_socket_sendto 2 20 142 7
isc_socket_sendv 1 6 44 5
isc_socket_sendtov 3 29 205 7
isc_socket_sendto2 2 17 129 7
isc_socket_cleanunix 22 91 528 2
isc_socket_permunix 8 42 281 4
isc_socket_bind 14 48 314 3
isc_socket_privsep 1 4 16 1
isc_socket_filter 4 19 140 2
isc_socket_listen 4 20 147 2
isc_socket_accept 5 40 259 4
isc_socket_connect 9 76 507 5
internal_connect 8 75 455 2
isc_socket_getpeername 2 14 77 2
isc_socket_getsockname 3 25 158 2
isc_socket_cancel 21 77 483 3
isc_socket_gettype 1 4 23 1
isc_socket_isbound 2 7 46 1
isc_socket_ipv6only 5 10 74 2
isc__socketmgr_getfdsets 2 13 83 3
isc__socketmgr_dispatch 2 7 48 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/syslog.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_syslog_facilityfromstring 3 12 88 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/app.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
exit_action 1 4 16 1
reload_action 1 4 16 1
handle_signal 3 17 115 2
isc_app_start 23 70 454 1
isc_app_onrun 3 24 121 4
evloop 9 47 242 0
isc__nothread_wait_hack 3 19 90 2
isc__nothread_signal_hack 1 7 31 1
isc_app_run 27 71 407 1
isc_app_shutdown 6 29 149 1
isc_app_reload 6 27 144 1
isc_app_finish 1 3 12 1
isc_app_block 5 11 76 1
isc_app_unblock 5 11 78 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/ifiter_ioctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
getbuf4 7 48 278 1
getbuf6 12 69 372 1
isc_interfaceiter_create 16 75 467 2
get_inaddr 1 4 37 2
internal_current_clusteralias 2 13 139 1
linux_if_inet6_next 3 8 56 1
linux_if_inet6_first 2 8 46 1
linux_if_inet6_current 9 57 408 1
internal_current4 30 128 997 1
internal_current6 24 97 785 1
internal_current 6 10 65 1
internal_next4 10 19 170 1
internal_next6 7 14 142 1
internal_next 9 20 113 1
internal_destroy 6 10 77 1
internal_first 6 13 80 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/resource.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
resource2rlim 15 42 152 2
isc_resource_setlimit 23 59 366 2
isc_resource_getlimit 2 13 71 2
isc_resource_curlimit 2 13 71 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/ifiter_getifaddrs.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_interfaceiter_create 4 37 212 2
internal_current 11 37 344 1
internal_next 2 6 36 1
internal_destroy 2 5 27 1
internal_first 1 3 16 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/errno2result.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc__errno2result 39 58 228 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/errno2result.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/strerror.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
init_lock 1 3 17 1
isc__strerror 5 20 147 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/file.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
file_stats 2 8 56 2
isc_file_getmodtime 2 10 66 2
isc_file_settime 4 13 142 2
isc_file_mktemplate 1 3 30 3
isc_file_template 5 22 161 4
isc_file_renameunique 11 36 218 2
isc_file_openunique 13 47 299 2
isc_file_remove 2 9 46 1
isc_file_rename 2 10 60 2
isc_file_exists 1 5 36 1
isc_file_isabsolute 1 4 29 1
isc_file_iscurrentdir 2 4 36 1
isc_file_ischdiridempotent 3 8 45 1
isc_file_basename 2 8 47 1
isc_file_progname 2 12 79 3
dir_current 5 19 111 2
isc_file_absolutepath 3 10 74 3
isc_file_truncate 2 6 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/os.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sysconf_ncpus 3 5 27 1
hpux_ncpus 2 7 43 1
sysctl_ncpus 2 9 55 1
isc_os_ncpus 6 10 54 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/time.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fix_tv_usec 6 18 105 1
isc_interval_set 1 8 42 3
isc_interval_iszero 3 7 49 1
isc_time_set 1 6 42 3
isc_time_settoepoch 1 5 27 1
isc_time_isepoch 3 7 49 1
isc_time_now 9 21 180 1
isc_time_nowplusinterval 11 27 222 2
isc_time_compare 7 13 107 2
isc_time_add 8 15 135 3
isc_time_subtract 8 19 150 3
isc_time_microdiff 4 12 109 2
isc_time_seconds 1 5 35 1
isc_time_secondsastimet 4 19 150 2
isc_time_nanoseconds 1 5 35 1
isc_time_formattimestamp 2 13 99 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/keyboard.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_keyboard_open 4 32 206 1
isc_keyboard_close 3 9 78 2
isc_keyboard_getchar 4 19 122 2
isc_keyboard_canceled 1 3 20 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/privsep.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_priv_init 9 42 256 1
isc_drop_privs 8 18 137 2
check_bind 13 43 249 2
parent_bind 5 21 155 1
isc_priv_bind 3 19 138 3
sig_pass_to_chld 2 7 30 1
sig_got_chld 7 13 75 1
may_read 6 19 92 3
must_read 6 18 87 3
must_write 6 18 89 3
write_command 1 4 23 2
logmsg 3 13 69 3
fatal 6 22 107 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/net.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
try_proto 14 59 248 1
initialize_action 5 5 27 1
initialize 1 3 19 1
isc_net_probeipv4 1 4 15 1
isc_net_probeipv6 1 4 15 1
isc_net_probeunix 1 4 15 1
try_ipv6only 7 54 261 1
initialize_ipv6only 1 4 19 1
try_ipv6pktinfo 5 36 165 1
initialize_ipv6pktinfo 1 4 19 1
isc_net_probe_ipv6only 3 5 19 1
isc_net_probe_ipv6pktinfo 4 5 19 1
isc_net_disableipv4 2 5 20 1
isc_net_disableipv6 2 5 20 1
isc_net_enableipv4 2 5 20 1
isc_net_enableipv6 2 5 20 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/ifiter_sysctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_interfaceiter_create 6 59 358 2
internal_current 20 79 648 1
internal_next 2 9 77 1
internal_destroy 1 3 13 1
internal_first 1 3 14 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/privsep_fdpass.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_fd 4 32 223 2
receive_fd 5 36 228 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/interfaceiter.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
get_addr 11 46 278 4
isc_interfaceiter_current 1 7 42 2
isc_interfaceiter_first 4 15 72 1
isc_interfaceiter_next 4 15 76 1
isc_interfaceiter_destroy 2 13 86 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/fsaccess.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_fsaccess_set 6 30 181 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/socket_p.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/entropy.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
get_from_filesource 8 32 207 2
get_from_usocketsource 29 96 569 2
fillpool 20 71 436 3
wait_for_sources 14 47 260 1
destroyfilesource 1 3 18 1
destroyusocketsource 1 3 15 1
make_nonblock 4 19 114 1
isc_entropy_createfilesource 17 79 482 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/dir.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_dir_init 1 7 46 1
isc_dir_open 5 18 150 2
isc_dir_read 4 12 110 1
isc_dir_close 2 5 38 1
isc_dir_reset 2 5 34 1
isc_dir_chdir 2 6 38 1
isc_dir_chroot 2 6 38 1
isc_dir_createunique 11 39 200 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/unix/stdtime.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fix_tv_usec 6 18 105 1
isc_stdtime_get 3 9 74 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/pthreads/include/isc/mutex.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/pthreads/include/isc/condition.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/pthreads/include/isc/thread.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/pthreads/include/isc/once.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/pthreads/thread.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_thread_create 8 24 137 3
isc_thread_setconcurrency 2 4 21 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/pthreads/condition.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_condition_waituntil 8 26 180 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/pthreads/mutex.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_mutex_init_profile 8 37 301 3
isc_mutex_lock_profile 7 32 243 3
isc_mutex_unlock_profile 3 14 121 3
isc_mutex_statsprofile 5 28 197 1
isc_mutex_init_errcheck 5 13 82 1
isc__mutex_init 3 15 91 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/x86_32/include/isc/atomic.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_atomic_xadd 2 10 48 2
isc_atomic_store 2 8 32 2
isc_atomic_cmpxchg 2 9 49 3
isc_atomic_xadd 2 11 30 2
isc_atomic_store 2 10 29 2
isc_atomic_cmpxchg 2 12 38 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/powerpc/include/isc/atomic.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_atomic_cmpxchg 3 8 49 3
isc_atomic_xadd 2 21 55 2
isc_atomic_store 2 17 41 2
isc_atomic_cmpxchg 2 27 69 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/ia64/include/isc/atomic.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_atomic_xadd 3 15 90 2
isc_atomic_store 1 8 30 2
isc_atomic_cmpxchg 1 10 58 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/nothreads/include/isc/mutex.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/nothreads/include/isc/condition.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/nothreads/include/isc/thread.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/nothreads/include/isc/once.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/nothreads/thread.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_thread_setconcurrency 1 3 13 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/nothreads/condition.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/nothreads/mutex.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/nls/msgcat.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_msgcat_open 4 13 84 2
isc_msgcat_close 5 13 84 1
isc_msgcat_get 4 12 84 4
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/parseint.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_parse_uint32 5 14 99 3
isc_parse_uint16 3 11 69 3
isc_parse_uint8 3 11 69 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/heap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_heap_create 4 24 140 5
isc_heap_destroy 2 12 87 1
resize 3 17 128 1
float_up 5 14 139 3
sink_down 7 21 182 3
isc_heap_insert 3 9 66 2
isc_heap_delete 4 17 128 2
isc_heap_increased 2 5 47 2
isc_heap_decreased 2 5 47 2
isc_heap_element 2 5 43 2
isc_heap_foreach 2 7 63 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/region.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_region_compare 6 12 119 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/version.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/base64.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_base64_totext 7 40 439 4
base64_decode_init 1 7 39 3
base64_decode_char 19 41 411 2
base64_decode_finish 3 7 39 1
isc_base64_tobuffer 8 25 174 3
isc_base64_decodestring 7 14 94 2
str_totext 2 11 71 2
mem_tobuffer 2 9 63 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_log_create 10 42 270 3
isc_logconfig_create 9 61 343 2
isc_logconfig_get 1 5 32 1
isc_logconfig_use 2 16 101 2
isc_log_destroy 4 30 203 1
isc_logconfig_destroy 10 41 332 1
isc_log_registercategories 6 18 134 2
isc_log_categorybyname 4 14 93 2
isc_log_registermodules 6 18 134 2
isc_log_modulebyname 4 14 93 2
isc_log_createchannel 12 58 394 6
isc_log_usechannel 9 29 206 4
isc_log_write 1 9 64 6
isc_log_vwrite 1 7 50 6
isc_log_write1 1 9 64 6
isc_log_vwrite1 1 7 50 6
isc_log_iwrite 1 11 74 9
isc_log_ivwrite 1 8 60 9
isc_log_iwrite1 1 11 74 9
isc_log_ivwrite1 1 8 60 9
isc_log_setcontext 1 3 12 1
isc_log_setdebuglevel 6 17 125 2
isc_log_getdebuglevel 1 4 23 1
isc_log_setduplicateinterval 1 4 26 2
isc_log_getduplicateinterval 1 4 23 1
isc_log_settag 6 15 118 2
isc_log_gettag 1 4 23 1
isc_log_opensyslog 1 3 27 3
isc_log_closefilelogs 4 14 97 1
assignchannel 7 29 194 4
sync_channellist 4 24 170 1
greatest_version 17 45 314 2
roll_log 26 69 458 1
isc_log_open 14 40 253 1
isc_log_wouldlog 5 7 56 2
isc_log_doit 73 228 1382 10
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/random.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
initialize_rand 1 6 48 1
initialize 1 4 19 1
isc_random_seed 1 5 16 1
isc_random_get 1 7 55 1
isc_random_uniform 6 18 82 1
isc_random_jitter 2 7 37 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/netaddr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_netaddr_equal 12 26 180 2
isc_netaddr_eqprefix 11 48 318 3
isc_netaddr_totext 11 44 310 2
isc_netaddr_format 4 20 113 3
isc_netaddr_prefixok 8 32 198 2
isc_netaddr_masktoprefixlen 11 39 235 2
isc_netaddr_fromin 1 5 42 2
isc_netaddr_fromin6 1 5 42 2
isc_netaddr_frompath 3 12 101 2
isc_netaddr_setzone 1 4 26 2
isc_netaddr_getzone 1 3 16 1
isc_netaddr_fromsockaddr 6 21 149 2
isc_netaddr_any 1 5 37 1
isc_netaddr_any6 1 5 35 1
isc_netaddr_ismulticast 3 10 62 1
isc_netaddr_isexperimental 2 8 43 1
isc_netaddr_islinklocal 3 10 50 1
isc_netaddr_issitelocal 3 10 50 1
isc_netaddr_fromv4mapped 1 10 92 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/inet_aton.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_net_aton 31 72 479 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/lex.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
grow_data 3 15 143 4
isc_lex_create 4 25 179 3
isc_lex_destroy 3 13 103 1
isc_lex_getcomments 1 4 23 1
isc_lex_setcomments 1 4 26 2
isc_lex_getspecials 1 4 30 2
isc_lex_setspecials 1 4 30 2
new_source 4 31 220 5
isc_lex_openfile 3 12 87 2
isc_lex_openstream 1 6 56 2
isc_lex_openbuffer 1 6 56 2
isc_lex_close 4 16 120 1
pushback 3 10 56 2
pushandgrow 3 20 148 3
isc_lex_gettoken 129 396 2086 3
isc_lex_getmastertoken 14 32 190 4
isc_lex_getoctaltoken 9 23 142 3
isc_lex_ungettoken 2 14 99 2
isc_lex_getlasttokentext 2 16 123 3
isc_lex_getsourcename 2 8 47 1
isc_lex_getsourceline 2 8 47 1
isc_lex_setsourcename 3 14 93 2
isc_lex_isfile 2 8 47 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/sockaddr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_sockaddr_equal 1 5 30 2
isc_sockaddr_eqaddr 1 4 28 2
isc_sockaddr_compare 21 39 345 3
isc_sockaddr_eqaddrprefix 1 8 53 3
isc_sockaddr_totext 8 41 318 2
isc_sockaddr_format 2 14 86 3
isc_sockaddr_hash 5 44 314 2
isc_sockaddr_any 2 10 90 1
isc_sockaddr_any6 2 10 88 1
isc_sockaddr_fromin 2 11 101 3
isc_sockaddr_anyofpf 3 12 44 2
isc_sockaddr_fromin6 2 11 101 3
isc_sockaddr_v6fromin 2 13 141 3
isc_sockaddr_pf 4 15 79 1
isc_sockaddr_fromnetaddr 6 24 207 3
isc_sockaddr_setport 3 16 90 2
isc_sockaddr_getport 3 18 98 1
isc_sockaddr_ismulticast 3 9 58 1
isc_sockaddr_isexperimental 2 8 48 1
isc_sockaddr_issitelocal 2 8 48 1
isc_sockaddr_islinklocal 2 8 48 1
isc_sockaddr_frompath 4 14 137 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/buffer.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc__buffer_init 1 4 33 3
isc__buffer_invalidate 1 6 41 1
isc__buffer_region 1 5 34 2
isc__buffer_usedregion 1 5 34 2
isc__buffer_availableregion 1 5 34 2
isc__buffer_add 1 5 40 2
isc__buffer_subtract 1 5 36 2
isc__buffer_clear 1 4 21 1
isc__buffer_consumedregion 1 5 34 2
isc__buffer_remainingregion 1 5 34 2
isc__buffer_activeregion 1 5 34 2
isc__buffer_setactive 1 5 40 2
isc__buffer_first 1 4 21 1
isc__buffer_forward 1 5 40 2
isc__buffer_back 1 5 36 2
isc_buffer_compact 2 14 92 1
isc_buffer_getuint8 1 10 69 1
isc__buffer_putuint8 1 5 39 2
isc_buffer_getuint16 1 11 88 1
isc__buffer_putuint16 1 5 39 2
isc_buffer_getuint32 1 13 124 1
isc__buffer_putuint32 1 5 39 2
isc__buffer_putmem 1 7 48 3
isc__buffer_putstr 1 11 76 2
isc_buffer_copyregion 2 13 90 2
isc_buffer_allocate 2 15 97 3
isc_buffer_free 1 15 95 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/hmacmd5.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_hmacmd5_init 3 19 158 3
isc_hmacmd5_invalidate 1 4 32 1
isc_hmacmd5_update 1 5 30 3
isc_hmacmd5_sign 2 13 120 2
isc_hmacmd5_verify 1 3 25 2
isc_hmacmd5_verify2 1 6 54 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/refcount.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_refcount_init 2 6 41 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/inet_pton.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_net_pton 3 11 60 3
inet_pton4 12 34 224 2
inet_pton6 20 73 475 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/sha1.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
do_R01 1 11 328 6
do_R2 1 11 328 6
do_R3 1 11 328 6
do_R4 1 11 328 6
transform 2 44 1429 2
isc_sha1_init 1 11 78 1
isc_sha1_invalidate 1 3 20 1
isc_sha1_update 4 21 200 3
isc_sha1_final 6 22 213 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/lib.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
open_msgcat 1 3 14 1
isc_lib_initmsgcat 2 13 64 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/timer.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
schedule 25 77 491 3
deschedule 5 19 104 1
destroy 1 16 103 1
isc_timer_create 17 72 498 8
isc_timer_reset 13 52 304 5
isc_timer_gettype 1 8 46 1
isc_timer_touch 1 10 67 1
isc_timer_attach 2 8 58 2
isc_timer_detach 3 16 93 1
dispatch 16 99 488 2
run 4 31 190 1
sooner 2 10 70 2
set_index 1 6 34 2
isc_timermgr_create 9 61 415 2
isc_timermgr_poke 2 5 29 1
isc_timermgr_destroy 6 34 220 1
isc__timermgr_nextevent 3 6 37 1
isc__timermgr_dispatch 2 7 31 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/task.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
task_finished 3 17 132 1
isc_task_create 8 47 312 3
isc_task_attach 2 9 65 2
task_shutdown 5 25 157 1
task_ready 2 10 73 1
task_detach 3 11 69 1
isc_task_detach 2 14 77 1
task_send 3 20 129 2
isc_task_send 2 11 64 2
isc_task_sendanddetach 4 16 104 2
dequeue_events 10 24 187 7
isc_task_purgerange 2 16 105 5
isc_task_purge 1 6 40 4
isc_task_purgeevent 5 19 121 2
isc_task_unsendrange 1 8 51 6
isc_task_unsend 1 7 48 5
isc_task_onshutdown 4 26 152 3
isc_task_shutdown 2 9 51 1
isc_task_destroy 1 5 26 1
isc_task_setname 2 10 89 3
isc_task_getname 1 3 15 1
isc_task_gettag 1 3 15 1
isc_task_getcurrenttime 1 7 50 2
dispatch 25 111 612 1
run 1 9 55 1
manager_free 2 11 84 1
isc_taskmgr_create 15 85 485 4
isc_taskmgr_destroy 8 38 256 1
isc__taskmgr_ready 2 5 31 1
isc__taskmgr_dispatch 2 7 33 1
isc_task_beginexclusive 4 16 101 1
isc_task_endexclusive 2 10 67 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/quota.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_quota_init 1 6 40 2
isc_quota_destroy 1 7 43 1
isc_quota_soft 1 5 33 2
isc_quota_max 1 5 33 2
isc_quota_reserve 5 14 85 1
isc_quota_release 1 6 38 1
isc_quota_attach 4 9 54 2
isc_quota_detach 2 6 31 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/print.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_print_sprintf 1 7 47 3
isc_print_snprintf 1 8 54 4
isc_print_vsnprintf 155 453 2275 4
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/result.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
register_table 2 21 139 5
initialize_action 2 13 68 1
initialize 1 4 23 1
isc_result_totext 5 24 149 1
isc_result_register 1 6 44 5
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/symtab.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_symtab_create 5 31 205 6
isc_symtab_destroy 4 24 185 1
hash 4 17 111 2
isc_symtab_lookup 3 14 86 4
isc_symtab_define 6 30 221 5
isc_symtab_undefine 3 15 129 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/mutexblock.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_mutexblock_init 4 16 86 2
isc_mutexblock_destroy 3 10 61 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/error.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_error_setunexpected 2 6 22 1
isc_error_setfatal 2 6 22 1
isc_error_unexpected 1 6 47 4
isc_error_fatal 1 7 51 4
isc_error_runtimecheck 1 5 39 3
default_unexpected_callback 1 8 52 4
default_fatal_callback 1 10 63 4
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/md5.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
byteSwap 2 9 82 2
isc_md5_init 1 8 62 1
isc_md5_invalidate 1 3 20 1
transform 1 75 1491 2
isc_md5_update 4 24 201 3
isc_md5_final 2 21 214 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/ondestroy.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_ondestroy_init 1 4 21 1
isc_ondestroy_register 1 15 90 3
isc_ondestroy_notify 2 13 86 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/string.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_string_touint64 18 55 328 3
isc_string_copy 2 9 67 3
isc_string_copy_truncate 1 5 42 3
isc_string_append 2 10 77 3
isc_string_append_truncate 1 6 52 3
isc_string_printf 2 14 93 4
isc_string_printf_truncate 1 9 66 4
isc_string_regiondup 2 11 83 2
isc_string_separate 5 17 115 2
isc_string_strlcpy 8 19 109 3
isc_string_strlcat 6 22 126 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/mem.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
add_trace_entry 9 48 331 3
delete_trace_entry 8 37 240 5
rmsize 1 3 20 1
quantize 2 5 37 1
more_basic_blocks 11 54 391 1
more_frags 5 35 247 2
mem_getunlocked 10 33 247 2
check_overrun 2 10 54 3
mem_putunlocked 6 21 200 3
mem_get 7 12 80 2
mem_put 3 6 59 3
mem_getstats 2 11 80 2
mem_putstats 2 12 100 3
default_memalloc 2 6 34 2
default_memfree 1 4 22 2
initialize_action 1 4 22 1
isc_mem_createx 1 7 44 6
isc_mem_createx2 21 104 720 7
isc_mem_create 1 7 34 3
isc_mem_create2 1 7 38 4
destroy 15 49 415 1
isc_mem_attach 2 8 62 2
isc_mem_detach 3 16 97 1
isc__mem_putanddetach 9 45 318 3
isc_mem_destroy 3 14 91 1
isc_mem_ondestroy 1 7 58 3
isc__mem_get 12 33 259 2
isc__mem_put 10 37 275 3
print_active 8 34 210 2
isc_mem_stats 12 54 387 2
isc__mem_allocateunlocked 5 18 115 2
isc__mem_allocate 12 31 250 2
isc__mem_free 8 33 265 2
isc__mem_strdup 2 11 77 2
isc_mem_setdestroycheck 1 6 45 2
isc_mem_setquota 1 6 45 2
isc_mem_getquota 1 8 50 1
isc_mem_inuse 1 8 50 1
isc_mem_setwater 9 33 208 5
isc_mempool_create 4 26 185 3
isc_mempool_setname 4 10 76 2
isc_mempool_destroy 7 41 273 1
isc_mempool_associatelock 1 6 42 2
isc__mempool_get 12 54 339 1
isc__mempool_put 7 35 267 2
isc_mempool_setfreemax 3 8 56 2
isc_mempool_getfreemax 3 10 61 1
isc_mempool_getfreecount 3 10 61 1
isc_mempool_setmaxalloc 3 9 63 2
isc_mempool_getmaxalloc 3 10 61 1
isc_mempool_getallocated 3 10 61 1
isc_mempool_setfillcount 3 9 63 2
isc_mempool_getfillcount 3 10 61 1
isc_mem_printactive 2 7 44 2
isc_mem_printallactive 3 13 82 1
isc_mem_checkdestroyed 4 16 97 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/assertions.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_assertion_setcallback 2 6 22 1
isc_assertion_typetotext 5 20 65 1
default_callback 1 10 58 4
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/event.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
destroy 1 4 27 1
isc_event_allocate 2 15 107 6
isc_event_free 2 9 53 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/timer_p.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/bufferlist.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_bufferlist_usedcount 2 13 72 1
isc_bufferlist_availablecount 2 13 72 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/sha2.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_sha224_init 2 9 50 1
isc_sha224_update 1 3 29 3
isc_sha224_final 1 6 48 2
isc_sha224_end 3 18 141 2
isc_sha224_data 1 8 48 3
isc_sha256_init 2 9 50 1
isc_sha256_transform 3 44 545 2
isc_sha256_transform 4 57 516 2
isc_sha256_update 7 37 255 3
isc_sha256_final 8 42 302 2
isc_sha256_end 3 18 141 2
isc_sha256_data 1 8 48 3
isc_sha512_init 2 9 60 1
isc_sha512_transform 3 43 543 2
isc_sha512_transform 4 56 514 2
isc_sha512_update 7 37 270 3
isc_sha512_last 5 28 241 1
isc_sha512_final 4 16 123 2
isc_sha512_end 3 18 141 2
isc_sha512_data 1 8 48 3
isc_sha384_init 2 9 60 1
isc_sha384_update 1 3 29 3
isc_sha384_final 4 16 127 2
isc_sha384_end 3 18 141 2
isc_sha384_data 1 8 48 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/base32.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
base32_totext 12 60 667 6
isc_base32_totext 1 6 38 4
isc_base32hex_totext 1 6 38 4
isc_base32hexnp_totext 1 6 38 4
base32_decode_init 1 11 66 5
base32_decode_char 27 68 565 2
base32_decode_finish 6 13 82 1
base32_tobuffer 8 27 187 5
isc_base32_tobuffer 1 3 31 3
isc_base32hex_tobuffer 1 3 31 3
isc_base32hexnp_tobuffer 1 3 31 3
base32_decodestring 7 16 107 4
isc_base32_decodestring 1 3 27 2
isc_base32hex_decodestring 1 3 27 2
isc_base32hexnp_decodestring 1 3 27 2
base32_decoderegion 2 13 89 4
isc_base32_decoderegion 1 3 26 2
isc_base32hex_decoderegion 1 3 26 2
isc_base32hexnp_decoderegion 1 3 26 2
str_totext 2 11 71 2
mem_tobuffer 2 9 63 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/taskpool.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_taskpool_create 6 30 206 5
isc_taskpool_gettask 1 5 32 3
isc_taskpool_destroy 3 13 101 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/rwlock.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_lock 3 20 115 3
isc_rwlock_init 9 61 323 3
isc_rwlock_destroy 6 14 112 1
isc_rwlock_lock 14 57 385 2
isc_rwlock_trylock 9 32 215 2
isc_rwlock_tryupgrade 3 13 85 1
isc_rwlock_downgrade 2 12 101 1
isc_rwlock_unlock 12 39 265 2
doit 17 57 328 3
isc_rwlock_lock 1 3 23 2
isc_rwlock_trylock 1 3 23 2
isc_rwlock_tryupgrade 3 15 97 1
isc_rwlock_downgrade 6 14 110 1
isc_rwlock_unlock 12 47 302 2
isc_rwlock_init 1 11 56 3
isc_rwlock_lock 5 15 90 2
isc_rwlock_trylock 1 3 21 2
isc_rwlock_tryupgrade 2 11 63 1
isc_rwlock_downgrade 1 6 40 1
isc_rwlock_unlock 1 8 52 2
isc_rwlock_destroy 1 5 30 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/inet_ntop.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_net_ntop 4 12 66 4
inet_ntop4 2 12 98 3
inet_ntop6 28 63 530 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/netscope.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_netscope_pton 8 23 146 4
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/shuffle.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_shuffle_init 2 11 74 1
isc_shuffle_generate16 2 17 109 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/strtoul.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_strtoul 25 52 346 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/lfsr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_lfsr_init 5 18 131 7
lfsr_generate 5 16 107 1
isc_lfsr_generate 6 26 159 3
lfsr_skipgenerate 2 7 40 2
isc_lfsr_skip 2 6 33 2
isc_lfsr_generate32 1 12 79 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/fsaccess.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_fsaccess_add 4 10 83 3
isc_fsaccess_remove 4 10 83 3
check_bad_bits 4 21 82 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/commandline.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_commandline_parse 22 63 328 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/hash.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_hash_ctxcreate 9 49 318 4
initialize_lock 1 3 17 1
isc_hash_create 2 11 84 3
isc_hash_ctxinit 5 30 195 1
isc_hash_init 2 4 22 0
isc_hash_ctxattach 2 6 47 2
destroy 4 19 143 1
isc_hash_ctxdetach 3 10 62 1
isc_hash_destroy 2 7 45 0
hash_calc 5 18 141 4
isc_hash_ctxcalc 2 7 56 4
isc_hash_calc 2 7 52 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/hmacsha.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_hmacsha1_init 3 19 159 3
isc_hmacsha1_invalidate 1 3 21 1
isc_hmacsha1_update 1 5 30 3
isc_hmacsha1_sign 2 17 159 3
isc_hmacsha1_verify 1 6 56 3
isc_hmacsha224_init 3 19 159 3
isc_hmacsha224_invalidate 1 3 21 1
isc_hmacsha224_update 1 5 30 3
isc_hmacsha224_sign 2 16 154 3
isc_hmacsha224_verify 1 6 56 3
isc_hmacsha256_init 3 19 159 3
isc_hmacsha256_invalidate 1 3 21 1
isc_hmacsha256_update 1 5 30 3
isc_hmacsha256_sign 2 16 154 3
isc_hmacsha256_verify 1 6 56 3
isc_hmacsha384_init 3 19 159 3
isc_hmacsha384_invalidate 1 3 21 1
isc_hmacsha384_update 1 5 30 3
isc_hmacsha384_sign 2 16 154 3
isc_hmacsha384_verify 1 6 56 3
isc_hmacsha512_init 3 19 159 3
isc_hmacsha512_invalidate 1 3 21 1
isc_hmacsha512_update 1 5 30 3
isc_hmacsha512_sign 2 16 154 3
isc_hmacsha512_verify 1 6 56 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/entropy.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
samplequeue_release 1 8 72 2
samplesource_allocate 3 13 102 2
add_entropy 1 5 41 2
subtract_entropy 1 4 32 2
add_pseudo 1 5 45 2
subtract_pseudo 1 4 32 2
entropypool_add_word 2 13 180 2
entropypool_adddata 10 43 237 4
reseed 4 16 114 1
estimate_entropy 8 23 134 2
crunchsamples 5 22 217 2
get_from_callback 11 33 208 3
isc_entropy_getdata 12 73 504 5
isc_entropypool_init 1 7 45 1
isc_entropypool_invalidate 1 7 43 1
isc_entropy_create 4 27 176 2
destroysource 9 35 219 1
destroy_check 5 17 79 1
destroy 5 28 177 1
isc_entropy_destroysource 2 17 98 1
isc_entropy_createcallbacksource 5 46 282 6
isc_entropy_stopcallbacksources 5 18 116 1
isc_entropy_createsamplesource 5 35 225 2
addsample 3 10 72 3
isc_entropy_addsample 2 19 110 3
isc_entropy_addcallbacksample 1 11 65 3
isc_entropy_putdata 2 10 68 4
dumpstats 1 13 76 2
isc_entropy_stats 1 6 43 2
isc_entropy_attach 2 8 58 2
isc_entropy_detach 3 14 85 1
kbdstart 4 15 79 3
kbdstop 2 6 48 2
kbdget 4 24 136 3
isc_entropy_usebestsource 15 37 196 4
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/bitstring.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_bitstring_init 1 12 75 5
isc_bitstring_invalidate 1 8 46 1
isc_bitstring_copy 6 35 216 5
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/ratelimiter.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_ratelimiter_create 5 38 244 4
isc_ratelimiter_setinterval 2 11 75 2
isc_ratelimiter_setpertic 2 5 27 2
isc_ratelimiter_enqueue 8 32 209 3
ratelimiter_tick 4 30 176 2
isc_ratelimiter_shutdown 2 18 129 1
ratelimiter_shutdowncomplete 1 5 35 2
ratelimiter_free 1 4 31 1
isc_ratelimiter_attach 2 10 75 2
isc_ratelimiter_detach 3 13 76 1
isc_ratelimiter_stall 5 19 92 1
isc_ratelimiter_release 7 24 115 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/serial.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_serial_lt 3 5 45 2
isc_serial_gt 2 3 30 2
isc_serial_le 2 3 28 2
isc_serial_ge 2 3 28 2
isc_serial_eq 2 3 23 2
isc_serial_ne 2 3 23 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/hex.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isc_hex_totext 5 23 169 4
hex_decode_init 1 6 33 3
hex_decode_char 5 19 145 2
hex_decode_finish 3 7 39 1
isc_hex_tobuffer 6 25 162 3
isc_hex_decodestring 7 14 93 2
str_totext 2 11 71 2
mem_tobuffer 2 9 63 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isc/task_p.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/types.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/version.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/alist.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/util.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/ccmsg.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/sexpr.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/symtab.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/result.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/symtype.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/events.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/cc.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/lib.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/include/isccc/base64.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/version.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/base64.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isccc_base64_encode 2 16 116 4
isccc_base64_decode 2 10 73 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/lib.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
open_msgcat 1 3 14 1
isccc_lib_initmsgcat 1 3 19 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/result.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
initialize_action 2 9 41 1
initialize 1 4 23 1
isccc_result_totext 1 4 19 1
isccc_result_register 1 3 10 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/symtab.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isccc_symtab_create 5 28 168 5
free_elt 2 7 66 3
isccc_symtab_destroy 3 20 125 1
hash 6 26 181 2
isccc_symtab_lookup 3 14 86 4
isccc_symtab_define 6 30 209 5
isccc_symtab_undefine 2 11 78 3
isccc_symtab_foreach 4 17 121 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/sexpr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isccc_sexpr_cons 2 11 63 2
isccc_sexpr_tconst 1 4 12 1
isccc_sexpr_fromstring 3 14 79 1
isccc_sexpr_frombinary 3 20 145 1
isccc_sexpr_free 7 26 120 1
printable 3 11 51 1
isccc_sexpr_print 11 48 270 2
isccc_sexpr_car 1 5 25 1
isccc_sexpr_cdr 1 5 25 1
isccc_sexpr_setcar 1 5 28 2
isccc_sexpr_setcdr 1 5 28 2
isccc_sexpr_addtolist 5 18 118 2
isccc_sexpr_listp 3 6 30 1
isccc_sexpr_emptyp 2 6 24 1
isccc_sexpr_stringp 3 6 30 1
isccc_sexpr_binaryp 3 6 30 1
isccc_sexpr_tostring 4 9 61 1
isccc_sexpr_tobinary 2 5 31 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/ccmsg.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
recv_length 6 42 256 2
recv_message 2 19 125 2
isccc_ccmsg_init 1 14 95 3
isccc_ccmsg_setmaxsize 1 4 26 2
isccc_ccmsg_readmessage 3 29 208 4
isccc_ccmsg_cancelread 1 4 27 1
isccc_ccmsg_freebuffer 2 8 63 1
isccc_ccmsg_invalidate 2 10 69 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/alist.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
isccc_alist_create 3 13 64 1
isccc_alist_alistp 6 12 78 1
isccc_alist_emptyp 2 7 35 1
isccc_alist_first 1 5 24 1
isccc_alist_assq 4 17 113 2
isccc_alist_delete 5 22 148 2
isccc_alist_define 5 24 143 3
isccc_alist_definestring 3 11 71 3
isccc_alist_definebinary 3 11 70 3
isccc_alist_lookup 2 8 45 2
isccc_alist_lookupstring 4 15 87 3
isccc_alist_lookupbinary 4 15 87 3
isccc_alist_prettyprint 7 40 292 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/isccc/cc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
value_towire 10 45 325 2
table_towire 4 25 161 2
list_towire 3 11 58 2
sign 2 21 153 4
isccc_cc_towire 5 23 155 3
verify 5 32 228 4
value_fromwire 7 31 189 2
table_fromwire 12 48 271 3
list_fromwire 4 21 111 2
isccc_cc_fromwire 3 13 74 3
createmessage 16 45 273 8
isccc_cc_createmessage 1 7 52 7
isccc_cc_createack 9 35 236 3
isccc_cc_isack 3 10 55 1
isccc_cc_isreply 3 10 55 1
isccc_cc_createresponse 11 38 269 4
isccc_cc_definestring 1 9 63 3
isccc_cc_defineuint32 1 11 86 3
isccc_cc_lookupstring 4 15 87 3
isccc_cc_lookupuint32 4 18 97 3
symtab_undefine 1 8 39 4
symtab_clean 3 13 74 4
isccc_cc_createsymtab 1 5 24 1
isccc_cc_cleansymtab 1 4 21 2
has_whitespace 6 11 61 1
isccc_cc_checkdup 12 41 272 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/any_255/tsig_250.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/any_255/tsig_250.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_any_tsig 12 64 523 1
totext_any_tsig 5 76 666 1
fromwire_any_tsig 7 38 296 1
towire_any_tsig 1 15 115 1
compare_any_tsig 2 25 187 1
fromstruct_any_tsig 3 29 262 1
tostruct_any_tsig 6 53 487 1
freestruct_any_tsig 4 14 111 1
additionaldata_any_tsig 1 8 44 1
digest_any_tsig 1 8 44 1
checkowner_any_tsig 1 9 45 1
checknames_any_tsig 1 8 44 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/hs_4/a_1.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_hs_a 3 21 134 1
totext_hs_a 1 9 62 1
fromwire_hs_a 3 20 120 1
towire_hs_a 2 13 91 1
compare_hs_a 3 13 106 1
fromstruct_hs_a 1 13 89 1
tostruct_hs_a 1 16 112 1
freestruct_hs_a 1 4 18 1
additionaldata_hs_a 1 8 44 1
digest_hs_a 1 7 48 1
checkowner_hs_a 1 9 45 1
checknames_hs_a 1 8 44 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/hs_4/a_1.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/naptr_35.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/aaaa_28.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_in_aaaa 3 22 138 1
totext_in_aaaa 1 9 62 1
fromwire_in_aaaa 3 20 120 1
towire_in_aaaa 2 13 91 1
compare_in_aaaa 1 13 98 1
fromstruct_in_aaaa 1 11 81 1
tostruct_in_aaaa 1 16 121 1
freestruct_in_aaaa 1 7 46 1
additionaldata_in_aaaa 1 8 44 1
digest_in_aaaa 1 7 48 1
checkowner_in_aaaa 1 7 40 1
checknames_in_aaaa 1 8 44 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/px_26.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/nsap-ptr_23.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_in_nsap_ptr 2 17 115 1
totext_in_nsap_ptr 1 15 106 1
fromwire_in_nsap_ptr 1 10 65 1
towire_in_nsap_ptr 1 13 87 1
compare_in_nsap_ptr 1 19 138 1
fromstruct_in_nsap_ptr 1 13 90 1
tostruct_in_nsap_ptr 1 19 144 1
freestruct_in_nsap_ptr 2 10 69 1
additionaldata_in_nsap_ptr 1 8 44 1
digest_in_nsap_ptr 1 10 68 1
checkowner_in_nsap_ptr 1 9 45 1
checknames_in_nsap_ptr 1 8 44 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/srv_33.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_in_srv 10 40 311 1
totext_in_srv 1 32 269 1
fromwire_in_srv 2 16 110 1
towire_in_srv 1 14 100 1
compare_in_srv 3 25 190 1
fromstruct_in_srv 1 16 126 1
tostruct_in_srv 1 25 198 1
freestruct_in_srv 2 10 69 1
additionaldata_in_srv 1 12 81 1
digest_in_srv 1 14 101 1
checkowner_in_srv 1 9 45 1
checknames_in_srv 3 17 105 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/a6_38.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/kx_36.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_in_kx 3 22 159 1
totext_in_kx 1 22 169 1
fromwire_in_kx 2 16 110 1
towire_in_kx 1 15 109 1
compare_in_kx 3 25 190 1
fromstruct_in_kx 1 14 102 1
tostruct_in_kx 1 21 162 1
freestruct_in_kx 2 10 69 1
additionaldata_in_kx 1 12 81 1
digest_in_kx 1 14 101 1
checkowner_in_kx 1 9 45 1
checknames_in_kx 1 8 44 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/a_1.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_in_a 3 21 134 1
totext_in_a 1 9 62 1
fromwire_in_a 3 20 120 1
towire_in_a 2 13 91 1
compare_in_a 1 13 98 1
fromstruct_in_a 1 13 89 1
tostruct_in_a 1 16 112 1
freestruct_in_a 1 7 46 1
additionaldata_in_a 1 8 44 1
digest_in_a 1 7 48 1
checkowner_in_a 1 7 40 1
checknames_in_a 1 8 44 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/aaaa_28.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/a6_38.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_in_a6 11 48 350 1
totext_in_a6 3 40 314 1
fromwire_in_a6 6 34 230 1
towire_in_a6 2 22 154 1
compare_in_a6 7 42 291 1
fromstruct_in_a6 6 36 237 1
tostruct_in_a6 3 31 252 1
freestruct_in_a6 3 11 79 1
additionaldata_in_a6 1 8 44 1
digest_in_a6 3 22 150 1
checkowner_in_a6 1 7 40 1
checknames_in_a6 4 21 134 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/wks_11.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_in_wks 19 76 558 1
totext_in_wks 5 28 245 1
fromwire_in_wks 4 22 145 1
towire_in_wks 1 9 65 1
compare_in_wks 1 13 98 1
fromstruct_in_wks 2 16 132 1
tostruct_in_wks 2 23 177 1
freestruct_in_wks 3 11 76 1
additionaldata_in_wks 1 8 44 1
digest_in_wks 1 7 48 1
checkowner_in_wks 1 7 40 1
checknames_in_wks 1 8 44 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/srv_33.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/apl_42.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_in_apl 20 70 443 1
totext_in_apl 7 57 426 1
fromwire_in_apl 13 44 277 1
towire_in_apl 1 6 45 1
compare_in_apl 1 11 80 1
fromstruct_in_apl 2 14 126 1
tostruct_in_apl 2 17 126 1
freestruct_in_apl 3 11 76 1
dns_rdata_apl_first 3 7 66 1
dns_rdata_apl_next 4 9 96 1
dns_rdata_apl_current 4 17 192 2
additionaldata_in_apl 1 7 39 1
digest_in_apl 1 7 48 1
checkowner_in_apl 1 9 45 1
checknames_in_apl 1 8 44 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/a_1.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/kx_36.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/wks_11.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/nsap_22.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/nsap-ptr_23.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/apl_42.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/naptr_35.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_in_naptr 4 36 293 1
totext_in_naptr 1 33 282 1
fromwire_in_naptr 2 19 140 1
towire_in_naptr 1 21 217 1
compare_in_naptr 9 43 444 1
fromstruct_in_naptr 4 24 243 1
tostruct_in_naptr 11 58 480 1
freestruct_in_naptr 5 16 126 1
additionaldata_in_naptr 7 33 230 1
digest_in_naptr 2 29 197 1
checkowner_in_naptr 1 9 45 1
checknames_in_naptr 1 8 44 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/px_26.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_in_px 4 28 225 1
totext_in_px 1 27 228 1
fromwire_in_px 2 17 127 1
towire_in_px 1 19 151 1
compare_in_px 4 32 254 1
fromstruct_in_px 1 16 124 1
tostruct_in_px 2 30 230 1
freestruct_in_px 2 11 81 1
additionaldata_in_px 1 8 44 1
digest_in_px 3 23 166 1
checkowner_in_px 1 9 45 1
checknames_in_px 1 8 44 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/in_1/nsap_22.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_in_nsap 10 42 264 1
totext_in_nsap 2 16 120 1
fromwire_in_nsap 2 15 94 1
towire_in_nsap 1 7 54 1
compare_in_nsap 1 13 98 1
fromstruct_in_nsap 2 12 96 1
tostruct_in_nsap 2 18 136 1
freestruct_in_nsap 3 11 76 1
additionaldata_in_nsap 1 8 44 1
digest_in_nsap 1 7 48 1
checkowner_in_nsap 1 9 45 1
checknames_in_nsap 1 8 44 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/ch_3/a_1.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_ch_a 9 28 217 1
totext_ch_a 1 22 172 1
fromwire_ch_a 3 22 145 1
towire_ch_a 2 21 148 1
compare_ch_a 4 28 214 1
fromstruct_ch_a 1 13 98 1
tostruct_ch_a 1 20 162 1
freestruct_ch_a 2 9 58 1
additionaldata_ch_a 1 8 44 1
digest_ch_a 1 12 93 1
checkowner_ch_a 1 6 35 1
checknames_ch_a 3 16 97 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/ch_3/a_1.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/nsec3param_51.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/ipseckey_45.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_ipseckey 14 63 443 1
totext_ipseckey 9 57 432 1
fromwire_ipseckey 8 35 258 1
towire_ipseckey 1 8 56 1
compare_ipseckey 1 12 89 1
fromstruct_ipseckey 6 32 216 1
tostruct_ipseckey 9 55 375 1
freestruct_ipseckey 4 12 85 1
additionaldata_ipseckey 1 7 35 1
digest_ipseckey 1 6 39 1
checkowner_ipseckey 1 8 38 1
checknames_ipseckey 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/loc_29.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_loc 140 355 2444 1
totext_loc 10 93 700 1
fromwire_loc 20 43 381 1
towire_loc 1 6 45 1
compare_loc 1 12 89 1
fromstruct_loc 15 34 421 1
tostruct_loc 2 31 260 1
freestruct_loc 1 7 40 1
additionaldata_loc 1 7 35 1
digest_loc 1 6 39 1
checkowner_loc 1 8 38 1
checknames_loc 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/sshfp_44.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_sshfp 3 21 153 1
totext_sshfp 3 24 215 1
fromwire_sshfp 2 13 82 1
towire_sshfp 1 8 56 1
compare_sshfp 1 12 89 1
fromstruct_sshfp 1 12 98 1
tostruct_sshfp 2 21 163 1
freestruct_sshfp 3 10 65 1
additionaldata_sshfp 1 7 35 1
digest_sshfp 1 6 39 1
checkowner_sshfp 1 8 38 1
checknames_sshfp 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/ns_2.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_ns 7 24 172 1
totext_ns 1 14 97 1
fromwire_ns 1 9 58 1
towire_ns 1 12 78 1
compare_ns 1 18 129 1
fromstruct_ns 1 12 83 1
tostruct_ns 1 18 135 1
freestruct_ns 2 8 47 1
additionaldata_ns 1 10 64 1
digest_ns 1 9 59 1
checkowner_ns 1 8 38 1
checknames_ns 3 15 88 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/key_25.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_key 2 27 207 1
totext_key 7 43 399 1
fromwire_key 2 13 82 1
towire_key 1 8 56 1
compare_key 1 12 89 1
fromstruct_key 1 13 110 1
tostruct_key 5 29 220 1
freestruct_key 3 10 69 1
additionaldata_key 1 7 35 1
digest_key 1 6 39 1
checkowner_key 1 8 38 1
checknames_key 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mg_8.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_mg 2 16 108 1
totext_mg 1 14 97 1
fromwire_mg 1 9 58 1
towire_mg 1 12 78 1
compare_mg 1 18 129 1
fromstruct_mg 1 12 83 1
tostruct_mg 1 18 135 1
freestruct_mg 2 9 58 1
additionaldata_mg 1 7 35 1
digest_mg 1 9 59 1
checkowner_mg 1 7 36 1
checknames_mg 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/md_3.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_md 2 16 108 1
totext_md 1 14 97 1
fromwire_md 1 9 58 1
towire_md 1 12 78 1
compare_md 1 18 129 1
fromstruct_md 1 12 83 1
tostruct_md 1 18 135 1
freestruct_md 2 9 58 1
additionaldata_md 1 10 64 1
digest_md 1 9 59 1
checkowner_md 1 8 38 1
checknames_md 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/isdn_20.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/md_3.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/isdn_20.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_isdn 3 21 135 1
totext_isdn 2 12 85 1
fromwire_isdn 2 11 65 1
towire_isdn 1 6 45 1
compare_isdn 1 12 89 1
fromstruct_isdn 1 13 114 1
tostruct_isdn 5 28 221 1
freestruct_isdn 4 11 73 1
additionaldata_isdn 1 7 35 1
digest_isdn 1 6 39 1
checkowner_isdn 1 8 38 1
checknames_isdn 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/sshfp_44.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mb_7.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_mb 2 16 108 1
totext_mb 1 14 97 1
fromwire_mb 1 9 58 1
towire_mb 1 12 78 1
compare_mb 1 18 129 1
fromstruct_mb 1 12 83 1
tostruct_mb 1 18 135 1
freestruct_mb 2 8 47 1
additionaldata_mb 1 10 64 1
digest_mb 1 9 59 1
checkowner_mb 1 7 36 1
checknames_mb 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/nsec_47.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/cname_5.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_cname 2 16 108 1
totext_cname 1 14 97 1
fromwire_cname 1 9 58 1
towire_cname 1 12 78 1
compare_cname 1 18 129 1
fromstruct_cname 1 12 83 1
tostruct_cname 1 18 135 1
freestruct_cname 2 8 47 1
additionaldata_cname 1 7 35 1
digest_cname 1 9 59 1
checkowner_cname 1 8 38 1
checknames_cname 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/dnskey_48.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_dnskey 2 27 207 1
totext_dnskey 7 43 399 1
fromwire_dnskey 2 13 82 1
towire_dnskey 1 8 56 1
compare_dnskey 1 12 89 1
fromstruct_dnskey 1 13 110 1
tostruct_dnskey 5 29 220 1
freestruct_dnskey 3 10 69 1
additionaldata_dnskey 1 7 35 1
digest_dnskey 1 6 39 1
checkowner_dnskey 1 8 38 1
checknames_dnskey 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mr_9.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/rrsig_46.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_rrsig 8 58 474 1
totext_rrsig 5 65 572 1
fromwire_rrsig 2 18 136 1
towire_rrsig 1 16 128 1
compare_rrsig 1 12 89 1
fromstruct_rrsig 2 19 186 1
tostruct_rrsig 3 41 334 1
freestruct_rrsig 3 11 81 1
additionaldata_rrsig 1 7 35 1
digest_rrsig 1 7 35 1
covers_rrsig 1 8 44 1
checkowner_rrsig 1 8 38 1
checknames_rrsig 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/afsdb_18.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/tlsa_52.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_tlsa 4 25 186 1
totext_tlsa 4 32 273 1
fromwire_tlsa 2 13 82 1
towire_tlsa 1 8 56 1
compare_tlsa 1 12 89 1
fromstruct_tlsa 1 13 110 1
tostruct_tlsa 2 23 181 1
freestruct_tlsa 3 10 65 1
additionaldata_tlsa 1 7 35 1
digest_tlsa 1 6 39 1
checkowner_tlsa 1 8 38 1
checknames_tlsa 1 7 35 1
casecompare_tlsa 1 3 16 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/rrsig_46.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/tkey_249.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/ptr_12.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/txt_16.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_txt 5 23 123 1
totext_txt 3 12 75 1
fromwire_txt 3 14 73 1
towire_txt 2 11 75 1
compare_txt 1 10 71 1
fromstruct_txt 4 22 158 1
tostruct_txt 2 17 124 1
freestruct_txt 3 10 65 1
additionaldata_txt 1 7 35 1
digest_txt 1 6 39 1
checkowner_txt 1 8 38 1
checknames_txt 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/spf_99.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_spf 5 23 123 1
totext_spf 3 12 75 1
fromwire_spf 3 14 73 1
towire_spf 2 11 75 1
compare_spf 1 10 71 1
fromstruct_spf 4 22 158 1
tostruct_spf 2 17 124 1
freestruct_spf 3 10 65 1
additionaldata_spf 1 7 35 1
digest_spf 1 6 39 1
checkowner_spf 1 8 38 1
checknames_spf 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mx_15.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mb_7.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/opt_41.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/tlsa_52.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/soa_6.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_soa 11 47 302 1
totext_soa 9 56 464 1
fromwire_soa 3 24 166 1
towire_soa 2 26 187 1
compare_soa 3 33 258 1
fromstruct_soa 1 19 165 1
tostruct_soa 3 39 310 1
freestruct_soa 2 10 70 1
additionaldata_soa 1 7 35 1
digest_soa 1 15 126 1
checkowner_soa 1 8 38 1
checknames_soa 5 22 139 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/ns_2.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/ipseckey_45.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mf_4.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_mf 2 16 108 1
totext_mf 1 14 97 1
fromwire_mf 1 9 58 1
towire_mf 1 12 78 1
compare_mf 1 18 129 1
fromstruct_mf 1 12 83 1
tostruct_mf 1 18 135 1
freestruct_mf 2 9 58 1
additionaldata_mf 1 10 64 1
digest_mf 1 9 59 1
checkowner_mf 1 8 38 1
checknames_mf 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/cert_37.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_cert 2 25 189 1
totext_cert 3 27 237 1
fromwire_cert 2 13 82 1
towire_cert 1 8 56 1
compare_cert 1 12 89 1
fromstruct_cert 1 13 110 1
tostruct_cert 2 23 181 1
freestruct_cert 3 10 65 1
additionaldata_cert 1 7 35 1
digest_cert 1 6 39 1
checkowner_cert 1 8 38 1
checknames_cert 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/nxt_30.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_nxt 12 45 326 1
totext_nxt 6 35 257 1
fromwire_nxt 5 17 148 1
towire_nxt 1 14 106 1
compare_nxt 2 22 154 1
fromstruct_nxt 4 18 162 1
tostruct_nxt 3 27 206 1
freestruct_nxt 3 11 77 1
additionaldata_nxt 1 7 35 1
digest_nxt 2 14 97 1
checkowner_nxt 1 8 38 1
checknames_nxt 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/minfo_14.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_minfo 8 29 188 1
totext_minfo 1 22 175 1
fromwire_minfo 1 12 86 1
towire_minfo 1 19 136 1
compare_minfo 2 29 216 1
fromstruct_minfo 1 14 105 1
tostruct_minfo 3 29 216 1
freestruct_minfo 2 10 70 1
additionaldata_minfo 1 7 35 1
digest_minfo 2 16 114 1
checkowner_minfo 1 8 38 1
checknames_minfo 5 22 137 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/minfo_14.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/afsdb_18.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_afsdb 8 29 216 1
totext_afsdb 1 20 150 1
fromwire_afsdb 3 20 133 1
towire_afsdb 2 19 130 1
compare_afsdb 3 24 181 1
fromstruct_afsdb 1 13 95 1
tostruct_afsdb 1 20 153 1
freestruct_afsdb 2 9 58 1
additionaldata_afsdb 1 11 72 1
digest_afsdb 1 13 92 1
checkowner_afsdb 1 8 38 1
checknames_afsdb 3 16 96 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/loc_29.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/rt_21.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mx_15.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
check_mx 5 13 113 1
fromtext_mx 13 36 275 1
totext_mx 1 21 160 1
fromwire_mx 2 15 103 1
towire_mx 1 14 100 1
compare_mx 3 24 181 1
fromstruct_mx 1 13 95 1
tostruct_mx 1 20 153 1
freestruct_mx 2 9 58 1
additionaldata_mx 1 11 72 1
digest_mx 1 13 92 1
checkowner_mx 1 6 33 1
checknames_mx 3 16 96 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/null_10.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_null 1 11 53 1
totext_null 1 7 35 1
fromwire_null 1 11 69 1
towire_null 1 5 36 1
compare_null 1 10 71 1
fromstruct_null 2 11 89 1
tostruct_null 2 16 118 1
freestruct_null 3 10 65 1
additionaldata_null 1 7 35 1
digest_null 1 6 39 1
checkowner_null 1 8 38 1
checknames_null 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/nsec_47.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_nsec 8 41 306 1
totext_nsec 8 44 352 1
fromwire_nsec 11 39 271 1
towire_nsec 1 14 106 1
compare_nsec 1 12 89 1
fromstruct_nsec 5 29 245 1
tostruct_nsec 3 27 206 1
freestruct_nsec 3 11 77 1
additionaldata_nsec 1 7 35 1
digest_nsec 1 6 39 1
checkowner_nsec 1 8 38 1
checknames_nsec 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/nsec3param_51.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_nsec3param 5 37 281 1
totext_nsec3param 2 35 264 1
fromwire_nsec3param 3 21 135 1
towire_nsec3param 1 8 56 1
compare_nsec3param 1 12 89 1
fromstruct_nsec3param 1 16 127 1
tostruct_nsec3param 2 23 177 1
freestruct_nsec3param 3 10 65 1
additionaldata_nsec3param 1 7 35 1
digest_nsec3param 1 6 39 1
checkowner_nsec3param 1 8 38 1
checknames_nsec3param 1 7 35 1
casecompare_nsec3param 1 3 16 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/soa_6.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/txt_16.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/nxt_30.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/unspec_103.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_unspec 1 9 48 1
totext_unspec 1 5 36 1
fromwire_unspec 1 11 69 1
towire_unspec 1 5 36 1
compare_unspec 1 10 71 1
fromstruct_unspec 2 11 89 1
tostruct_unspec 2 16 118 1
freestruct_unspec 3 10 65 1
additionaldata_unspec 1 7 35 1
digest_unspec 1 6 39 1
checkowner_unspec 1 8 38 1
checknames_unspec 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/gpos_27.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/nsec3_50.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/nsec3_50.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_nsec3 12 71 568 1
totext_nsec3 14 83 673 1
fromwire_nsec3 14 51 351 1
towire_nsec3 1 8 56 1
compare_nsec3 1 12 89 1
fromstruct_nsec3 5 33 315 1
tostruct_nsec3 5 36 294 1
freestruct_nsec3 5 14 103 1
additionaldata_nsec3 1 7 35 1
digest_nsec3 1 6 39 1
checkowner_nsec3 2 15 95 1
checknames_nsec3 1 7 35 1
casecompare_nsec3 1 3 16 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/cert_37.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/hinfo_13.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_hinfo 2 17 94 1
totext_hinfo 1 10 72 1
fromwire_hinfo 1 9 53 1
towire_hinfo 1 6 45 1
compare_hinfo 1 12 89 1
fromstruct_hinfo 1 13 114 1
tostruct_hinfo 5 28 221 1
freestruct_hinfo 4 11 73 1
additionaldata_hinfo 1 7 35 1
digest_hinfo 1 6 39 1
checkowner_hinfo 1 8 38 1
checknames_hinfo 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/rp_17.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/proforma.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/key_25.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/spf_99.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mg_8.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/tkey_249.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_tkey 9 54 434 1
totext_tkey 7 72 625 1
fromwire_tkey 6 32 247 1
towire_tkey 1 14 106 1
compare_tkey 2 23 178 1
fromstruct_tkey 1 18 175 1
tostruct_tkey 6 44 367 1
freestruct_tkey 4 12 89 1
additionaldata_tkey 1 7 35 1
digest_tkey 1 7 35 1
checkowner_tkey 1 8 38 1
checknames_tkey 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/gpos_27.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_gpos 2 17 94 1
totext_gpos 3 14 90 1
fromwire_gpos 2 11 64 1
towire_gpos 1 6 45 1
compare_gpos 1 12 89 1
fromstruct_gpos 1 15 142 1
tostruct_gpos 9 41 317 1
freestruct_gpos 5 14 103 1
additionaldata_gpos 1 7 35 1
digest_gpos 1 6 39 1
checkowner_gpos 1 8 38 1
checknames_gpos 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/ds_43.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_ds 5 33 231 1
totext_ds 3 28 255 1
fromwire_ds 8 21 159 1
towire_ds 1 8 56 1
compare_ds 1 12 89 1
fromstruct_ds 3 21 146 1
tostruct_ds 2 23 181 1
freestruct_ds 3 10 65 1
additionaldata_ds 1 7 35 1
digest_ds 1 6 39 1
checkowner_ds 1 8 38 1
checknames_ds 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/dlv_32769.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/ds_43.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/sig_24.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_sig 8 58 474 1
totext_sig 5 65 572 1
fromwire_sig 2 18 136 1
towire_sig 1 16 128 1
compare_sig 3 35 262 1
fromstruct_sig 2 19 186 1
tostruct_sig 3 41 334 1
freestruct_sig 3 11 81 1
additionaldata_sig 1 7 35 1
digest_sig 1 7 35 1
covers_sig 1 8 44 1
checkowner_sig 1 8 38 1
checknames_sig 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/proforma.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/rp_17.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_rp 9 29 192 1
totext_rp 1 22 175 1
fromwire_rp 1 12 86 1
towire_rp 1 19 134 1
compare_rp 2 28 212 1
fromstruct_rp 1 14 105 1
tostruct_rp 3 29 216 1
freestruct_rp 2 10 70 1
additionaldata_rp 1 7 35 1
digest_rp 1 13 101 1
checkowner_rp 1 8 38 1
checknames_rp 3 15 86 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/opt_41.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_opt 1 11 53 1
totext_opt 6 33 247 1
fromwire_opt 5 33 195 1
towire_opt 1 5 36 1
compare_opt 1 10 71 1
fromstruct_opt 5 25 179 1
tostruct_opt 2 17 124 1
freestruct_opt 3 10 65 1
additionaldata_opt 1 7 35 1
digest_opt 1 7 35 1
checkowner_opt 1 7 38 1
checknames_opt 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/dname_39.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/dname_39.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_dname 2 16 108 1
totext_dname 1 14 97 1
fromwire_dname 1 9 58 1
towire_dname 1 12 78 1
compare_dname 1 18 129 1
fromstruct_dname 1 12 83 1
tostruct_dname 1 18 135 1
freestruct_dname 2 9 58 1
additionaldata_dname 1 7 35 1
digest_dname 1 9 59 1
checkowner_dname 1 8 38 1
checknames_dname 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/null_10.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/rt_21.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_rt 8 29 216 1
totext_rt 1 21 160 1
fromwire_rt 3 20 133 1
towire_rt 2 19 130 1
compare_rt 3 24 181 1
fromstruct_rt 1 13 95 1
tostruct_rt 1 20 153 1
freestruct_rt 2 9 58 1
additionaldata_rt 3 18 125 1
digest_rt 2 16 105 1
checkowner_rt 1 8 38 1
checknames_rt 3 16 96 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/ptr_12.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_ptr 9 26 182 1
totext_ptr 1 14 97 1
fromwire_ptr 1 9 58 1
towire_ptr 1 12 78 1
compare_ptr 1 18 129 1
fromstruct_ptr 1 12 83 1
tostruct_ptr 1 18 135 1
freestruct_ptr 2 9 58 1
additionaldata_ptr 1 7 35 1
digest_ptr 1 9 59 1
checkowner_ptr 1 8 38 1
checknames_ptr 7 20 124 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/hinfo_13.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mr_9.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_mr 2 16 108 1
totext_mr 1 14 97 1
fromwire_mr 1 9 58 1
towire_mr 1 12 78 1
compare_mr 1 18 129 1
fromstruct_mr 1 12 83 1
tostruct_mr 1 18 135 1
freestruct_mr 2 9 58 1
additionaldata_mr 1 7 35 1
digest_mr 1 9 59 1
checkowner_mr 1 8 38 1
checknames_mr 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/x25_19.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_x25 4 19 140 1
totext_x25 1 8 51 1
fromwire_x25 2 12 67 1
towire_x25 1 6 45 1
compare_x25 1 12 89 1
fromstruct_x25 5 18 152 1
tostruct_x25 2 18 137 1
freestruct_x25 3 10 65 1
additionaldata_x25 1 7 35 1
digest_x25 1 6 39 1
checkowner_x25 1 8 38 1
checknames_x25 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/sig_24.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/dnskey_48.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/cname_5.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/unspec_103.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/dlv_32769.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fromtext_dlv 6 34 232 1
totext_dlv 3 28 255 1
fromwire_dlv 8 21 159 1
towire_dlv 1 8 56 1
compare_dlv 1 12 89 1
fromstruct_dlv 3 21 146 1
tostruct_dlv 2 23 181 1
freestruct_dlv 3 10 65 1
additionaldata_dlv 1 7 35 1
digest_dlv 1 6 39 1
checkowner_dlv 1 8 38 1
checknames_dlv 1 7 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/mf_4.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/generic/x25_19.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/rdatastructsuf.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata/rdatastructpre.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dst/gssapi.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dst/dst.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dst/result.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dst/lib.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rootns.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/acache.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/adb.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/ncache.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/types.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/message.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/secproto.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rdata.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/cache.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/fixedname.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/callbacks.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rdataslab.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/sdlz.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/version.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/acl.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/dlz.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/keyflags.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/journal.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/masterdump.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rdatasetiter.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/peer.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/tkey.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/opcode.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/ssu.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/ttl.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/dispatch.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/db.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/timer.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/name.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rcode.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/xfrin.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/ds.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/time.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/zonekey.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/portlist.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/validator.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/zone.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/resolver.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/byaddr.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/request.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/sdb.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rdatatype.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rdataset.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/view.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/diff.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/master.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/zt.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/result.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/tcpmsg.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rdatalist.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/lookup.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/events.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/dbtable.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/keyvalues.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rbt.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/soa.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/bit.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/forward.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/stats.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/secalg.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/lib.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/dbiterator.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/keytable.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/rdataclass.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/order.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/dnssec.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/cert.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/compress.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/tsig.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/include/dns/nsec.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dst_result.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
initialize_action 2 8 41 1
initialize 1 4 23 1
dst_result_totext 1 4 19 1
dst_result_register 1 3 10 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rcode.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
str_totext 2 11 71 2
maybe_numeric 7 21 147 4
dns_mnemonic_fromtext 5 19 136 4
dns_mnemonic_totext 3 14 99 3
dns_rcode_fromtext 1 6 41 2
dns_rcode_totext 1 3 23 2
dns_tsigrcode_fromtext 1 6 41 2
dns_tsigrcode_totext 1 3 23 2
dns_cert_fromtext 1 6 41 2
dns_cert_totext 1 3 23 2
dns_secalg_fromtext 1 6 41 2
dns_secalg_totext 1 3 23 2
dns_secproto_fromtext 1 6 41 2
dns_secproto_totext 1 3 23 2
dns_hashalg_fromtext 1 6 42 2
dns_keyflags_fromtext 11 40 243 2
dns_rdataclass_fromtext 12 38 229 2
dns_rdataclass_totext 7 20 130 2
dns_rdataclass_format 4 18 98 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/db.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
initialize 1 16 109 1
impfind 3 9 58 1
dns_db_create 3 24 170 8
dns_db_attach 2 6 53 2
dns_db_detach 1 6 46 1
dns_db_ondestroy 1 5 39 3
dns_db_iscache 2 6 38 1
dns_db_iszone 2 6 42 1
dns_db_isstub 2 6 38 1
dns_db_issecure 1 5 43 1
dns_db_ispersistent 1 4 30 1
dns_db_origin 1 4 24 1
dns_db_class 1 4 23 1
dns_db_beginload 3 7 66 3
dns_db_endload 2 5 48 2
dns_db_load 1 3 25 2
dns_db_load2 6 20 157 3
dns_db_dump 1 4 37 3
dns_db_dump2 1 5 48 4
dns_db_currentversion 2 6 58 2
dns_db_newversion 2 6 61 2
dns_db_attachversion 2 10 79 3
dns_db_closeversion 2 9 71 3
dns_db_findnode 2 7 59 4
dns_db_find 7 18 155 10
dns_db_findzonecut 5 15 130 8
dns_db_attachnode 2 6 58 3
dns_db_detachnode 2 6 53 2
dns_db_expirenode 1 6 61 3
dns_db_printnode 1 5 46 3
dns_db_createiterator 2 7 51 3
dns_db_findrdataset 4 17 131 8
dns_db_allrdatasets 2 8 65 5
dns_db_addrdataset 8 20 181 7
dns_db_subtractrdataset 4 16 131 6
dns_db_deleterdataset 4 11 94 5
dns_db_overmem 1 4 32 2
dns_db_getsoaserial 5 34 239 3
dns_db_nodecount 1 4 30 1
dns_db_settask 1 4 33 2
dns_db_register 4 29 197 5
dns_db_unregister 2 13 95 1
dns_db_getoriginnode 3 8 73 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dispatch.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mgr_log 2 12 82 4
dispatch_log 2 12 82 4
request_log 3 24 142 5
dispatch_arc4init 2 8 51 1
dispatch_arc4addrandom 2 13 121 3
dispatch_arc4get8 1 10 97 1
dispatch_arc4get16 1 6 33 1
dispatch_arc4stir 4 20 149 1
dispatch_arc4random 2 10 68 1
dispatch_arc4uniformrandom 5 15 83 2
dns_hash 1 10 63 4
linear_first 3 12 61 1
linear_next 4 16 90 2
destroy_disp_ok 4 10 52 1
destroy_disp 2 22 141 2
bucket_search 5 15 102 5
free_buffer 4 21 141 3
allocate_udp_buffer 2 9 61 1
free_event 2 8 50 2
allocate_event 2 9 66 1
udp_recv 24 145 1083 2
tcp_recv 14 108 690 2
startrecv 10 46 257 1
destroy_mgr_ok 6 20 136 1
destroy_mgr 5 28 198 1
create_socket 3 19 106 4
dns_dispatchmgr_create 11 84 541 3
dns_dispatchmgr_setblackhole 2 6 46 2
dns_dispatchmgr_getblackhole 1 4 23 1
dns_dispatchmgr_setblackportlist 3 9 52 2
dns_dispatchmgr_getblackportlist 1 4 23 1
dns_dispatchmgr_setudp 6 39 263 5
dns_dispatchmgr_destroy 2 15 94 1
blacklisted 7 20 114 3
local_addr_match 10 21 157 2
dispatch_find 6 27 142 5
qid_allocate 6 35 254 4
qid_destroy 1 12 86 2
dispatch_allocate 5 44 264 3
dispatch_free 3 25 164 1
dns_dispatch_createtcp 5 59 406 10
dns_dispatch_getudp 11 59 391 12
dispatch_createudp 25 117 712 7
dns_dispatch_attach 2 8 58 2
dns_dispatch_detach 5 22 148 1
dns_dispatch_addresponse 10 77 522 7
dns_dispatch_starttcp 1 8 59 1
dns_dispatch_removeresponse 12 79 527 2
do_cancel 5 29 199 1
dns_dispatch_getsocket 1 4 23 1
dns_dispatch_getlocaladdress 2 9 54 2
dns_dispatch_cancel 2 13 71 1
dns_dispatch_changeattributes 7 23 151 3
dns_dispatch_importrecv 3 30 230 2
dns_dispatchmgr_dump 2 10 68 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rbtdb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
attach 1 6 45 2
free_rbtdb_callback 1 5 34 2
adjust_quantum 7 30 171 2
free_rbtdb 17 74 552 3
maybe_free_rbtdb 9 37 274 1
detach 2 9 60 1
currentversion 1 11 84 2
allocate_version 3 20 124 4
newversion 4 21 149 2
attachversion 1 11 67 3
add_changed 2 19 126 3
free_acachearray 4 14 114 3
free_noqname 4 12 128 2
free_rdataset 3 13 104 2
rollback_node 6 20 113 2
clean_stale_headers 2 8 56 2
clean_cache_node 4 19 126 2
clean_zone_node 18 80 433 3
new_reference 2 11 74 2
decrement_reference 28 89 557 5
make_least_version 1 7 38 3
cleanup_nondirty 3 14 79 2
iszonesecure 7 37 213 2
closeversion 20 118 719 3
add_wildcard_magic 3 18 115 2
add_empty_wildcards 6 25 159 2
findnode 9 49 345 4
zone_zonecut_callback 21 74 443 3
bind_rdataset 5 30 212 5
setup_delegation 9 36 231 5
valid_glue 10 41 233 4
activeempty 12 47 287 3
activeemtpynode 26 95 624 3
find_wildcard 24 101 548 3
find_closest_nsec 24 92 494 6
zone_find 84 272 1605 10
zone_findzonecut 1 16 89 8
cache_zonecut_callback 15 65 392 3
find_deepest_zonecut 23 112 585 6
find_coveringnsec 19 99 548 6
cache_find 54 195 1182 10
cache_findzonecut 19 101 650 8
attachnode 2 12 110 3
detachnode 9 40 271 2
expirenode 14 54 354 3
overmem 2 6 36 2
printnode 5 36 219 3
createiterator 2 27 206 3
zone_findrdataset 17 67 414 8
cache_findrdataset 19 66 419 8
allrdatasets 5 42 297 5
cname_and_other_data 20 46 243 2
add 79 230 1399 8
delegating_type 7 14 77 3
addnoqname 5 43 276 3
addrdataset 15 66 456 7
subtractrdataset 22 120 793 6
deleterdataset 9 38 280 5
loading_addrdataset 15 55 389 3
beginload 3 22 154 3
endload 2 19 161 2
dump 1 9 63 4
delete_callback 2 8 58 2
issecure 1 10 62 1
nodecount 1 10 66 1
settask 3 11 84 2
ispersistent 1 4 18 1
getoriginnode 3 18 134 2
dns_rbtdb_create 21 132 945 8
rdataset_disassociate 1 5 32 1
rdataset_first 4 17 101 1
rdataset_next 5 18 106 1
rdataset_current 5 17 142 2
rdataset_clone 1 9 62 2
rdataset_count 1 6 40 1
rdataset_getnoqname 1 38 262 4
rdatasetiter_destroy 2 11 91 1
rdatasetiter_first 11 38 247 1
rdatasetiter_next 15 54 346 1
rdatasetiter_current 1 14 116 2
reference_iter_node 2 10 84 1
dereference_iter_node 2 13 91 1
flush_deletions 5 37 231 1
resume_iteration 1 8 60 1
dbiterator_destroy 2 18 143 1
dbiterator_first 7 30 198 1
dbiterator_last 7 30 198 1
dbiterator_seek 7 29 203 2
dbiterator_prev 6 23 166 1
dbiterator_next 6 23 166 1
dbiterator_current 12 43 333 3
dbiterator_pause 5 17 113 1
dbiterator_origin 2 7 61 2
rdataset_getadditional 7 59 347 11
acache_callback 4 36 252 2
acache_cancelentry 2 14 93 3
rdataset_setadditional 17 110 693 9
rdataset_putadditional 8 55 330 4
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdatalist_p.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/tcpmsg.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
recv_length 6 44 275 2
recv_message 2 20 140 2
dns_tcpmsg_init 1 14 95 3
dns_tcpmsg_setmaxsize 1 5 33 2
dns_tcpmsg_readmessage 3 29 208 4
dns_tcpmsg_cancelread 1 4 27 1
dns_tcpmsg_keepbuffer 1 7 50 2
dns_tcpmsg_freebuffer 2 8 63 1
dns_tcpmsg_invalidate 2 10 69 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/version.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_log_init 1 5 29 1
dns_log_setcontext 1 3 12 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/gen-unix.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
start_directory 2 7 41 2
next_file 4 13 71 1
end_directory 2 5 32 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/peer.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_peerlist_new 2 13 82 2
dns_peerlist_attach 1 8 54 2
dns_peerlist_detach 2 12 74 1
peerlist_delete 2 18 122 1
dns_peerlist_addpeer 4 13 93 2
dns_peerlist_peerbyaddr 4 22 111 3
dns_peerlist_currpeer 1 6 39 2
dns_peer_new 3 15 76 3
dns_peer_newprefix 2 27 174 4
dns_peer_attach 1 8 54 2
dns_peer_detach 2 12 74 1
peer_delete 3 21 142 1
dns_peer_setbogus 2 8 59 2
dns_peer_getbogus 2 9 59 2
dns_peer_setprovideixfr 2 8 59 2
dns_peer_getprovideixfr 2 10 61 2
dns_peer_setrequestixfr 2 8 59 2
dns_peer_getrequestixfr 2 9 59 2
dns_peer_setsupportedns 2 8 59 2
dns_peer_getsupportedns 2 9 59 2
dns_peer_settransfers 2 8 59 2
dns_peer_gettransfers 2 10 61 2
dns_peer_settransferformat 2 9 59 2
dns_peer_gettransferformat 2 10 61 2
dns_peer_getkey 3 8 57 2
dns_peer_setkey 3 11 79 2
dns_peer_setkeybycharp 5 26 198 2
dns_peer_settransfersource 4 18 109 2
dns_peer_gettransfersource 2 8 53 2
dns_peer_setnotifysource 4 18 109 2
dns_peer_getnotifysource 2 8 53 2
dns_peer_setquerysource 4 16 109 2
dns_peer_getquerysource 2 8 53 2
dns_peer_setudpsize 2 8 59 2
dns_peer_getudpsize 2 10 61 2
dns_peer_setmaxudp 2 8 59 2
dns_peer_getmaxudp 2 10 61 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rbtdb.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/ttl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ttlfmt 6 21 166 5
dns_ttl_totext 12 38 316 3
dns_counter_fromtext 1 3 22 2
dns_ttl_fromtext 2 7 39 2
bind_ttl 17 58 289 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rootns.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
in_rootns 6 20 124 2
check_node 9 32 154 3
check_hints 11 46 288 1
dns_rootns_create 12 49 321 4
report 4 32 217 4
inrrset 3 13 78 2
check_address_records 27 86 641 5
dns_root_checkhints 13 90 573 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dst_parse.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
find_value 5 10 85 2
find_tag 4 9 61 1
check_rsa 6 13 97 1
check_dh 6 13 97 1
check_dsa 6 13 97 1
check_hmac_md5 9 17 128 2
check_hmac_sha 6 15 106 3
check_data 11 27 154 3
dst__privstruct_free 4 12 93 2
dst__privstruct_parse 24 98 614 5
dst__privstruct_writefile 16 83 497 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/tsig.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
tsig_log 3 16 123 4
dns_tsigkey_createfromkey 47 161 1035 10
dns_tsigkey_create 23 98 581 11
dns_tsigkey_attach 2 6 47 2
tsigkey_free 4 17 147 1
dns_tsigkey_detach 2 11 64 1
dns_tsigkey_setdeleted 1 7 68 1
buffer_putuint48 1 8 54 2
dns_tsig_sign 42 220 1444 1
dns_tsig_verify 63 228 1610 4
tsig_verify_tcp 28 155 1015 2
dns_tsigkey_find 7 34 258 4
free_tsignode 1 7 38 2
dns_tsigkeyring_create 4 25 174 2
dns_tsigkeyring_destroy 1 10 67 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/callbacks.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
stdio_error_warn_callback 1 10 51 3
isclog_error_callback 1 9 50 3
isclog_warn_callback 1 9 50 3
dns_rdatacallbacks_initcommon 1 7 39 1
dns_rdatacallbacks_init 1 5 25 1
dns_rdatacallbacks_init_stdio 1 5 25 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/zonekey.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_zonekey_iszonekey 6 17 104 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/lib.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
open_msgcat 1 3 14 1
dns_lib_initmsgcat 1 3 19 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/name.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_name_init 1 3 20 2
dns_name_reset 1 5 29 1
dns_name_invalidate 1 11 65 1
dns_name_setbuffer 3 6 47 2
dns_name_hasbuffer 2 6 35 1
dns_name_isabsolute 2 6 39 1
dns_name_ismailbox 11 37 218 1
dns_name_ishostname 11 30 187 2
dns_name_iswildcard 4 11 73 1
dns_name_internalwildcard 4 21 119 1
name_hash 5 25 126 2
dns_name_hash 2 6 42 2
dns_name_fullhash 2 7 54 2
dns_fullname_hash 1 4 29 2
dns_name_hashbylabel 5 25 184 2
dns_name_fullcompare 12 69 404 4
dns_name_compare 1 6 42 2
dns_name_equal 7 30 191 2
dns_name_caseequal 3 11 93 2
dns_name_rdatacompare 9 36 261 2
dns_name_issubdomain 3 10 59 2
dns_name_matcheswildcard 2 17 122 2
dns_name_countlabels 1 5 33 1
dns_name_getlabel 2 14 122 3
dns_name_getlabelsequence 9 33 228 4
dns_name_clone 4 18 132 2
dns_name_fromregion 7 32 224 2
dns_name_toregion 1 5 34 2
dns_name_fromtext 49 204 1058 5
free_specific 1 5 37 1
thread_key_mutex_init 1 3 17 1
totext_filter_proc_key_init 7 24 124 1
dns_name_totext 38 118 606 3
dns_name_tofilenametext 27 80 427 3
dns_name_downcase 15 59 395 3
set_offsets 5 37 190 3
dns_name_fromwire 27 114 617 5
dns_name_towire 12 51 365 3
dns_name_concatenate 31 84 541 4
dns_name_split 10 24 153 4
dns_name_dup 5 26 186 3
dns_name_dupwithoffsets 4 26 204 3
dns_name_free 2 10 76 2
dns_name_digest 2 16 116 3
dns_name_dynamic 2 5 33 1
dns_name_print 2 14 107 2
dns_name_settotextfilter 9 31 181 1
dns_name_format 2 13 100 3
dns_name_copy 8 31 246 3
dns_name_destroy 3 11 52 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdatalist.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_rdatalist_init 1 8 46 1
dns_rdatalist_tordataset 1 18 116 2
isc__rdatalist_disassociate 1 3 13 1
isc__rdatalist_first 2 8 47 1
isc__rdatalist_next 3 10 58 1
isc__rdatalist_current 1 6 36 2
isc__rdatalist_clone 1 4 24 2
isc__rdatalist_count 2 12 62 1
isc__rdatalist_addnoqname 10 29 179 2
isc__rdatalist_getnoqname 8 28 175 4
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/timer.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_timer_setidle 1 15 87 4
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/diff.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rdata_covers 2 4 24 1
dns_difftuple_create 3 33 257 6
dns_difftuple_free 1 8 51 1
dns_difftuple_copy 1 4 42 2
dns_diff_init 1 5 31 2
dns_diff_clear 2 9 64 1
dns_diff_append 1 5 29 2
dns_diff_appendminimal 7 30 200 2
diff_apply 18 93 542 4
dns_diff_apply 1 3 30 3
dns_diff_applysilently 1 3 30 3
dns_diff_load 12 51 319 3
dns_diff_sort 6 29 230 2
diff_tuple_tordataset 1 17 127 4
dns_diff_print 12 61 388 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/key.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dst_region_computeid 4 17 159 2
dst_key_name 1 4 24 1
dst_key_size 1 4 24 1
dst_key_proto 1 4 24 1
dst_key_alg 1 4 24 1
dst_key_flags 1 4 24 1
dst_key_id 1 4 24 1
dst_key_class 1 4 24 1
dst_key_iszonekey 5 11 75 1
dst_key_isnullkey 5 11 75 1
dst_key_setbits 2 10 61 2
dst_key_getbits 1 4 24 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdata.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
getquad 5 17 110 4
name_duporclone 2 6 46 3
mem_maybedup 3 9 59 3
dns_rdata_init 1 9 52 1
dns_rdata_reset 1 10 64 1
dns_rdata_clone 1 12 91 2
dns_rdata_compare 8 23 181 2
dns_rdata_fromregion 1 13 82 4
dns_rdata_toregion 1 7 51 2
dns_rdata_fromwire 10 47 252 7
dns_rdata_towire 5 30 178 3
rdata_validate 1 13 82 4
unknown_fromtext 10 38 239 5
dns_rdata_fromtext 21 85 523 9
rdata_totext 10 38 262 3
dns_rdata_totext 1 10 64 3
dns_rdata_tofmttext 2 17 103 6
dns_rdata_fromstruct 6 27 149 5
dns_rdata_tostruct 2 10 56 3
dns_rdata_freestruct 1 5 22 1
dns_rdata_additionaldata 2 13 61 3
dns_rdata_digest 2 14 82 3
dns_rdata_checkowner 1 7 26 4
dns_rdata_checknames 1 6 25 3
dns_rdatatype_attributes 3 7 36 1
dns_rdatatype_fromtext 7 25 216 2
dns_rdatatype_totext 1 6 45 2
dns_rdatatype_format 4 18 98 3
name_length 1 3 15 1
txt_totext 12 47 306 2
txt_fromtext 14 56 326 2
txt_fromwire 4 18 118 2
name_prefix 5 18 111 3
str_totext 2 11 71 2
inet_totext 3 9 75 3
buffer_empty 2 3 25 1
buffer_fromregion 1 5 43 2
uint32_tobuffer 2 8 47 2
uint16_tobuffer 3 10 61 2
uint8_tobuffer 3 10 61 2
name_tobuffer 1 5 34 2
uint32_fromregion 1 9 70 1
uint16_consume_fromregion 1 5 26 1
uint16_fromregion 1 4 39 1
uint8_fromregion 1 4 27 1
uint8_consume_fromregion 1 5 26 1
mem_tobuffer 2 9 63 3
hexvalue 4 12 79 1
decvalue 3 8 53 1
byte_atob 6 33 256 3
putbyte 3 19 104 3
atob_tobuffer 10 39 330 2
byte_btoa 8 53 367 3
btoa_totext 3 12 127 3
default_fromtext_callback 1 10 51 3
fromtext_warneof 4 10 64 2
warn_badmx 2 13 74 3
warn_badname 2 15 88 3
fromtext_error 8 42 232 6
dns_rdata_covers 2 5 32 1
dns_rdatatype_ismeta 2 5 30 1
dns_rdatatype_issingleton 2 6 30 1
dns_rdatatype_notquestion 2 6 30 1
dns_rdatatype_questiononly 2 6 30 1
dns_rdatatype_atparent 2 5 30 1
dns_rdataclass_ismeta 4 7 31 1
dns_rdatatype_isdnssec 2 5 30 1
dns_rdatatype_iszonecutauth 2 7 34 1
dns_rdatatype_isknown 2 6 30 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/result.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
initialize_action 3 13 62 1
initialize 1 4 23 1
dns_result_totext 1 4 19 1
dns_result_register 1 3 10 1
dns_result_torcode 25 42 145 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dst_parse.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rbt.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
Name 2 7 38 1
find_up 2 6 40 1
dns_rbt_create 7 27 187 4
dns_rbt_destroy 1 3 20 1
dns_rbt_destroy2 4 16 128 2
dns_rbt_nodecount 1 4 23 1
chain_name 6 22 150 3
move_chain_to_last 4 12 72 2
dns_rbt_addnode 23 150 938 3
dns_rbt_addname 4 14 92 3
dns_rbt_findnode 50 237 1249 8
dns_rbt_findname 5 14 108 5
dns_rbt_deletename 4 16 111 3
dns_rbt_deletenode 9 29 207 3
dns_rbt_namefromnode 1 6 43 2
dns_rbt_fullnamefromnode 3 18 116 2
dns_rbt_formatnodename 2 17 99 3
create_node 4 36 264 3
hash_add_node 1 7 64 3
inithash 2 10 72 1
rehash 5 30 213 1
hash_node 2 6 52 3
unhash_node 4 18 117 2
rotate_left 5 24 166 2
rotate_right 5 24 166 2
dns_rbt_addonlevel 14 79 477 4
dns_rbt_deletefromlevel 33 129 881 2
dns_rbt_deletetree 12 34 232 2
dns_rbt_deletetreeflat 14 45 263 3
dns_rbt_indent 2 5 28 1
dns_rbt_printnodename 1 12 78 1
dns_rbt_printtree 15 41 275 3
dns_rbt_printall 1 4 27 1
dns_rbtnodechain_init 1 8 49 2
dns_rbtnodechain_current 7 26 154 4
dns_rbtnodechain_prev 19 56 340 3
dns_rbtnodechain_next 21 59 348 3
dns_rbtnodechain_first 2 13 80 4
dns_rbtnodechain_last 3 15 94 4
dns_rbtnodechain_reset 1 6 34 1
dns_rbtnodechain_invalidate 1 4 19 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dlz.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dlz_initialize 1 4 25 1
dlz_impfind 3 9 58 1
dns_dlzallowzonexfr 3 18 123 4
dns_dlzcreate 5 51 355 6
dns_dlzdestroy 3 16 125 1
dns_dlzfindzone 7 33 218 4
dns_dlzregister 4 43 288 5
dns_dlzstrtoargvsub 17 43 269 5
dns_dlzstrtoargv 1 5 38 4
dns_dlzunregister 2 16 111 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdataslab.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
compare_rdata 1 5 46 2
fillin_offsets 3 18 160 3
dns_rdataslab_fromrdataset 30 93 746 4
rdataset_disassociate 1 3 13 1
rdataset_first 3 15 88 1
rdataset_next 3 16 90 1
rdataset_current 2 10 77 2
rdataset_clone 1 5 30 2
rdataset_count 1 6 40 1
dns_rdataslab_tordataset 1 19 114 7
dns_rdataslab_size 4 17 107 2
rdata_from_slab 2 14 81 4
rdata_in_slab 5 23 138 5
dns_rdataslab_merge 45 157 1092 8
dns_rdataslab_subtract 27 96 712 8
dns_rdataslab_equal 7 32 187 3
dns_rdataslab_equalx 5 28 185 5
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/byaddr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_byaddr_createptrname 1 7 32 3
dns_byaddr_createptrname2 5 38 297 3
copy_ptr_targets 6 31 206 2
lookup_done 2 17 129 2
bevent_destroy 2 17 118 1
dns_byaddr_create 6 53 364 8
dns_byaddr_cancel 3 10 62 1
dns_byaddr_destroy 1 13 92 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/view.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_view_create 14 153 947 4
destroy 26 88 700 1
all_done 6 7 51 1
dns_view_attach 2 6 47 2
view_flushanddetach 9 31 193 2
dns_view_flushanddetach 1 3 15 1
dns_view_detach 1 3 15 1
dialup 1 5 27 2
dns_view_dialup 1 4 32 1
dns_view_weakattach 2 8 58 2
dns_view_weakdetach 2 15 88 1
resolver_shutdown 2 15 98 2
adb_shutdown 2 15 98 2
req_shutdown 2 15 98 2
dns_view_createresolver 6 60 398 9
dns_view_setcache 4 15 122 2
dns_view_sethints 1 7 55 2
dns_view_setkeyring 2 7 49 2
dns_view_setdstport 1 4 25 2
dns_view_addzone 1 7 47 2
dns_view_freeze 2 9 56 1
dns_view_findzone 2 10 66 3
dns_view_find 53 150 934 11
dns_view_simplefind 16 34 186 8
dns_view_findzonecut 1 9 58 8
dns_view_findzonecut2 37 116 678 9
dns_viewlist_find 5 16 100 4
dns_view_load 1 4 31 2
dns_view_loadnew 1 4 31 2
dns_view_gettsig 3 11 72 3
dns_view_getpeertsig 3 14 89 3
dns_view_checksig 1 6 49 3
dns_view_dumpdbtostream 2 11 82 2
dns_view_flushcache 5 17 122 1
dns_view_flushname 3 8 62 2
dns_view_adddelegationonly 9 31 238 2
dns_view_excludedelegationonly 9 31 238 2
dns_view_isdelegationonly 13 25 194 2
dns_view_setrootdelonly 1 4 25 2
dns_view_getrootdelonly 1 4 23 1
dns_view_freezezones 1 4 31 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdatasetiter.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_rdatasetiter_destroy 1 6 44 1
dns_rdatasetiter_first 1 4 28 1
dns_rdatasetiter_next 1 4 28 1
dns_rdatasetiter_current 1 8 48 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/validator.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
markanswer 3 7 60 1
validator_done 2 12 92 2
exit_check 4 8 54 1
isdelegation 5 27 147 3
fetch_callback_validator 11 51 337 2
dsfetched 13 58 368 2
dsfetched2 19 64 415 2
keyvalidated 6 37 249 2
dsvalidated 6 38 242 2
nsecnoexistnodata 28 118 740 7
authvalidated 20 68 428 2
view_find 28 95 650 3
check_deadlock 5 15 89 3
create_fetch 4 18 137 5
create_validator 3 18 130 7
get_dst_key 12 51 289 3
get_key 22 65 404 2
compute_keytag 1 5 36 2
isselfsigned 5 33 199 1
verify 9 33 196 4
validate 26 128 736 2
dlv_validatezonekey 25 132 791 1
validatezonekey 53 244 1424 1
start_positive_validation 3 5 42 1
checkwildcard 23 63 387 1
nsecvalidate 32 105 646 2
check_ds 4 20 125 3
dlvfetched 13 62 427 2
startfinddlvsep 4 31 217 2
finddlvsep 18 83 574 2
proveunsecure 42 171 996 2
dlv_validator_start 1 8 56 1
validator_start 16 67 451 2
dns_validator_create 9 82 547 11
dns_validator_send 1 10 78 1
dns_validator_cancel 5 19 138 1
destroy 9 27 225 1
dns_validator_destroy 2 15 92 1
validator_logv 4 24 194 6
validator_log 2 9 60 4
validator_logcreate 1 11 81 5
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dst_openssl.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dnssec.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
digest_callback 1 4 28 2
rdata_compare_wrapper 1 4 34 2
rdataset_to_sortedarray 4 24 163 4
dns_dnssec_keyfromrdata 2 17 128 4
digest_sig 2 17 119 3
dns_dnssec_sign 20 124 937 8
dns_dnssec_verify2 24 108 792 7
dns_dnssec_verify 2 11 64 6
dns_dnssec_findzonekeys2 15 68 405 9
dns_dnssec_findzonekeys 1 8 61 8
dns_dnssec_signmessage 7 96 715 2
dns_dnssec_verifymessage 12 86 583 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rdataset.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_rdataset_init 1 19 112 1
dns_rdataset_invalidate 1 18 110 1
dns_rdataset_disassociate 1 20 127 1
dns_rdataset_isassociated 2 6 34 1
question_disassociate 1 3 13 1
question_cursor 1 4 18 1
question_current 1 5 27 2
question_clone 1 3 18 2
question_count 1 5 23 1
dns_rdataset_makequestion 1 10 56 3
dns_rdataset_count 1 5 39 1
dns_rdataset_clone 1 7 59 2
dns_rdataset_first 1 5 39 1
dns_rdataset_next 1 5 39 1
dns_rdataset_current 1 5 42 2
towire_compare 1 5 53 2
towiresorted 46 186 1240 10
dns_rdataset_towiresorted 1 13 64 8
dns_rdataset_towirepartial 1 15 75 9
dns_rdataset_towire 1 10 55 6
dns_rdataset_additionaldata 5 21 127 3
dns_rdataset_addnoqname 2 7 60 2
dns_rdataset_getnoqname 2 9 72 4
dns_rdataset_getadditional 7 29 179 11
dns_rdataset_setadditional 3 20 106 9
dns_rdataset_putadditional 3 13 76 4
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/time.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_time64_totext 8 46 297 2
dns_time32_totext 2 15 78 2
dns_time64_fromtext 10 29 270 2
dns_time32_fromtext 2 9 53 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/gssapi_link.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
gssapi_createctx 3 18 117 2
gssapi_destroyctx 3 9 60 1
gssapi_adddata 3 20 149 2
gssapi_sign 3 19 135 2
gssapi_verify 2 13 95 2
gssapi_compare 1 5 38 2
gssapi_generate 1 5 26 2
gssapi_isprivate 1 4 19 1
gssapi_destroy 1 3 13 1
dst__gssapi_init 2 6 33 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/gen.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
upper 4 15 103 1
funname 3 9 58 2
doswitch 15 67 404 6
dodecl 3 17 113 3
find_typename 4 9 62 1
insert_into_typenames 16 53 416 3
add 18 58 434 5
sd 7 21 177 4
HASH 2 12 88 1
main 57 306 1988 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dst_api.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
default_memalloc 2 6 34 2
default_memfree 1 4 22 2
dst_lib_init 7 34 279 3
dst_lib_destroy 7 13 88 1
dst_algorithm_supported 3 6 38 1
dst_context_create 6 25 174 3
dst_context_destroy 2 10 79 1
dst_context_adddata 1 6 57 2
dst_context_sign 5 15 112 2
dst_context_verify 3 10 84 2
dst_key_computesecret 8 18 139 3
dst_key_tofile 6 19 142 3
dst_key_fromfile 8 38 251 7
dst_key_fromnamedfile 14 74 518 4
dst_key_todns 6 23 183 2
dst_key_fromdns 5 31 193 5
dst_key_frombuffer 3 20 118 8
dst_key_tobuffer 2 9 71 2
dst_key_privatefrombuffer 3 17 127 2
dst_key_fromgssapi 3 14 89 4
dst_key_generate 7 38 230 9
dst_key_compare 8 16 113 2
dst_key_paramcompare 7 15 105 2
dst_key_free 3 17 129 1
dst_key_isprivate 1 5 40 1
dst_key_buildfilename 3 8 68 4
dst_key_sigsize 12 39 160 2
dst_key_secretsize 2 10 68 2
get_key_struct 4 34 241 7
dst_key_read_public 18 74 520 4
issymmetric 7 16 67 1
write_public_key 9 57 431 3
buildfilename 10 35 245 6
computeid 2 13 86 1
frombuffer 7 32 208 8
algorithm_status 7 10 59 1
addsuffix 9 18 149 4
dst__entropy_getdata 2 6 45 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/compress.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_compress_init 2 13 90 3
dns_compress_invalidate 4 17 121 1
dns_compress_setmethods 1 5 36 2
dns_compress_getmethods 1 4 25 1
dns_compress_setsensitive 2 7 36 2
dns_compress_getsensitive 1 4 32 1
dns_compress_getedns 1 4 23 1
dns_compress_findglobal 10 42 279 4
name_length 1 5 27 1
dns_compress_add 6 48 290 4
dns_compress_rollback 5 15 113 2
dns_decompress_init 2 9 57 3
dns_decompress_invalidate 1 4 22 1
dns_decompress_setmethods 4 14 61 2
dns_decompress_getmethods 1 4 23 1
dns_decompress_edns 1 4 23 1
dns_decompress_type 1 4 23 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/soa.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
decode_uint32 1 6 52 1
encode_uint32 1 6 72 2
soa_get 2 6 58 2
dns_soa_getserial 1 3 16 1
dns_soa_getrefresh 1 3 16 1
dns_soa_getretry 1 3 16 1
dns_soa_getexpire 1 3 16 1
dns_soa_getminimum 1 3 16 1
soa_set 2 6 60 3
dns_soa_setserial 1 3 20 2
dns_soa_setrefresh 1 3 20 2
dns_soa_setretry 1 3 20 2
dns_soa_setexpire 1 3 20 2
dns_soa_setminimum 1 3 20 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rbtdb64.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/sdlz.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_sdlz_tolower 4 8 59 1
initial_size 1 4 33 1
rdatasetiter_destroy 1 8 60 1
rdatasetiter_first 2 8 60 1
rdatasetiter_next 2 8 50 1
rdatasetiter_current 1 5 39 2
attach 1 9 65 2
destroy 1 10 74 1
detach 3 14 90 1
beginload 1 6 36 3
endload 1 5 27 2
dump 1 9 45 4
currentversion 2 6 41 2
newversion 1 5 27 2
attachversion 2 9 52 3
closeversion 2 7 54 3
createnode 3 26 180 2
destroynode 5 34 244 1
findnode 14 74 517 4
findzonecut 1 14 80 8
attachnode 1 12 93 3
detachnode 4 18 123 2
expirenode 1 7 40 3
printnode 1 6 33 3
createiterator 6 45 330 3
findrdataset 6 26 158 8
find 30 108 611 10
allrdatasets 3 20 151 5
addrdataset 1 13 71 7
subtractrdataset 1 12 63 6
deleterdataset 1 10 52 5
issecure 1 4 18 1
nodecount 1 4 18 1
ispersistent 1 4 18 1
overmem 1 4 21 2
settask 1 4 22 2
dbiterator_destroy 2 13 107 1
dbiterator_first 2 8 48 1
dbiterator_last 2 8 48 1
dbiterator_seek 3 8 64 2
dbiterator_prev 2 8 50 1
dbiterator_next 2 8 50 1
dbiterator_current 2 9 66 3
dbiterator_pause 1 4 18 1
dbiterator_origin 1 4 29 2
disassociate 1 7 51 1
rdataset_clone 1 9 71 2
list_tordataset 1 9 51 4
dns_sdlzcreateDBP 5 38 282 6
dns_sdlzallowzonexfr 6 42 286 7
dns_sdlzcreate 3 30 174 6
dns_sdlzdestroy 2 13 71 2
dns_sdlzfindzone 4 25 183 6
dns_sdlz_putrr 18 90 579 4
dns_sdlz_putnamedrr 11 50 386 5
dns_sdlz_putsoa 3 15 118 4
dns_sdlzregister 5 48 306 6
dns_sdlzunregister 2 15 94 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/openssl_link.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
entropy_get 3 7 54 2
entropy_getpseudo 3 7 54 2
entropy_add 1 5 30 3
lock_callback 2 8 57 4
id_callback 1 3 17 1
mem_alloc 1 4 24 1
mem_free 2 5 28 1
mem_realloc 5 13 76 2
dst__openssl_init 8 44 225 0
dst__openssl_destroy 11 24 103 0
dst__openssl_toresult 2 13 50 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/nsec.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
set_bit 2 9 69 3
bit_isset 1 7 58 2
dns_nsec_buildrdata 16 69 463 6
dns_nsec_build 3 28 189 5
dns_nsec_typepresent 6 29 213 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/message.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
msgblock_allocate 2 14 81 3
msgblock_internalget 3 10 69 2
msgblock_reset 1 3 16 1
msgblock_free 1 6 44 3
newbuffer 2 10 64 2
currentbuffer 1 6 33 1
releaserdata 1 3 23 2
newrdata 4 21 132 1
releaserdatalist 1 3 23 2
newrdatalist 4 21 127 1
newoffsets 3 16 94 1
msginitheader 1 7 38 1
msginitprivate 2 17 105 1
msginittsig 1 10 57 1
msginit 1 19 115 1
msgresetnames 5 25 180 2
msgresetopt 3 13 77 1
msgresetsigs 11 42 309 2
msgreset 21 93 656 2
spacefortsig 3 15 98 2
dns_message_create 10 62 429 3
dns_message_reset 2 7 44 2
dns_message_destroy 1 12 81 1
findname 4 15 77 3
dns_message_find 7 20 110 5
dns_message_findtype 6 19 108 4
getname 4 25 126 4
getrdata 7 37 188 7
getquestions 19 103 577 4
update 4 8 51 2
getsection 79 261 1420 5
dns_message_parse 24 96 625 3
dns_message_renderbegin 3 19 117 3
dns_message_renderchangebuffer 1 14 110 2
dns_message_renderrelease 1 5 35 2
dns_message_renderreserve 3 11 73 2
wrong_priority 8 23 97 3
dns_message_rendersection 31 159 856 3
dns_message_renderheader 4 26 200 2
dns_message_renderend 16 74 501 1
dns_message_renderreset 7 31 209 1
dns_message_firstname 2 8 65 2
dns_message_nextname 2 9 79 2
dns_message_currentname 2 9 65 3
dns_message_findname 9 33 196 7
dns_message_movename 1 12 85 4
dns_message_addname 1 9 60 3
dns_message_removename 1 9 60 3
dns_message_gettempname 3 9 67 2
dns_message_gettempoffsets 3 8 57 2
dns_message_gettemprdata 3 8 57 2
dns_message_gettemprdataset 3 9 65 2
dns_message_gettemprdatalist 3 8 57 2
dns_message_puttempname 3 8 65 2
dns_message_puttemprdata 2 6 45 2
dns_message_puttemprdataset 2 7 57 2
dns_message_puttemprdatalist 2 6 45 2
dns_message_peekheader 4 21 111 3
dns_message_reply 10 46 294 2
dns_message_getopt 1 4 23 1
dns_message_setopt 3 24 148 2
dns_message_gettsig 3 7 52 2
dns_message_settsigkey 8 27 178 2
dns_message_gettsigkey 1 4 23 1
dns_message_setquerytsig 10 45 302 2
dns_message_getquerytsig 5 21 149 3
dns_message_getsig0 5 11 74 2
dns_message_setsig0key 5 25 164 2
dns_message_getsig0key 1 4 23 1
dns_message_takebuffer 1 7 53 2
dns_message_signer 15 60 387 2
dns_message_resetsig 2 12 70 1
dns_message_rechecksig 1 4 27 2
dns_message_checksig 21 75 512 2
dns_message_sectiontotext 12 56 319 5
dns_message_pseudosectiontotext 16 63 452 5
dns_message_totext 20 97 702 4
dns_message_getrawmessage 1 4 24 1
dns_message_setsortorder 1 7 36 3
dns_message_settimeadjust 1 4 25 2
dns_message_gettimeadjust 1 4 23 1
dns_opcode_totext 2 7 53 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/stats.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_stats_alloccounters 3 11 72 2
dns_stats_freecounters 1 4 32 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/forward.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_fwdtable_create 5 25 169 2
dns_fwdtable_add 6 40 271 4
dns_fwdtable_find 1 5 30 3
dns_fwdtable_find2 2 13 87 4
dns_fwdtable_destroy 2 13 85 1
auto_detach 2 12 93 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/zone.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_zone_create 8 121 788 2
zone_free 17 60 481 1
dns_zone_setclass 2 9 57 2
dns_zone_getclass 1 4 23 1
dns_zone_setnotifytype 1 6 35 2
dns_zone_settype 2 8 57 2
zone_freedbargs 3 11 86 1
dns_zone_getdbtype 5 32 254 3
dns_zone_setdbtype 8 36 252 3
dns_zone_setview 2 8 56 2
dns_zone_getview 1 4 23 1
dns_zone_setorigin 2 13 96 2
dns_zone_setacache 5 20 133 2
dns_zone_setstring 4 14 85 3
dns_zone_setfile 1 3 25 2
dns_zone_setfile2 2 13 79 3
dns_zone_getfile 1 4 23 1
default_journal 4 20 139 1
dns_zone_setjournal 1 8 55 2
dns_zone_getjournal 1 4 23 1
zone_isdynamic 9 12 97 1
zone_load 32 108 641 2
dns_zone_load 1 3 18 1
dns_zone_loadnew 1 3 18 1
zone_gotreadhandle 14 43 282 2
zone_gotwritehandle 4 29 200 2
zone_startload 18 74 509 3
zone_check_mx 22 66 436 4
zone_check_srv 23 68 450 4
zone_check_glue 30 92 593 4
integrity_checks 19 94 626 2
zone_check_dnskeys 15 56 331 2
zone_postload 55 207 1199 4
exit_check 3 10 56 1
zone_check_ns 11 47 273 3
zone_count_ns_rr 12 44 268 6
zone_load_soa_rr 18 65 364 9
zone_get_from_db 12 39 250 10
dns_zone_attach 2 6 47 2
dns_zone_detach 5 22 127 1
dns_zone_iattach 2 7 49 2
zone_iattach 2 9 76 2
zone_idetach 2 10 75 1
dns_zone_idetach 3 14 78 1
dns_zone_getmctx 1 4 23 1
dns_zone_getmgr 1 4 23 1
dns_zone_setflag 2 9 52 3
dns_zone_setoption 2 10 50 3
dns_zone_getoptions 1 4 23 1
dns_zone_setxfrsource4 1 7 43 2
dns_zone_getxfrsource4 1 4 24 1
dns_zone_setxfrsource6 1 7 43 2
dns_zone_getxfrsource6 1 4 24 1
dns_zone_setaltxfrsource4 1 9 43 2
dns_zone_getaltxfrsource4 1 4 24 1
dns_zone_setaltxfrsource6 1 9 43 2
dns_zone_getaltxfrsource6 1 4 24 1
dns_zone_setnotifysrc4 1 7 43 2
dns_zone_getnotifysrc4 1 4 24 1
dns_zone_setnotifysrc6 1 7 43 2
dns_zone_getnotifysrc6 1 4 24 1
dns_zone_setalsonotify 5 26 167 3
dns_zone_setmasters 1 7 37 3
same_masters 3 9 62 3
same_keynames 11 15 122 3
dns_zone_setmasterswithkeys 25 112 770 4
dns_zone_getdb 2 11 72 2
dns_zone_maintenance 1 10 53 1
was_dumping 2 11 62 1
zone_maintenance 23 69 345 1
dns_zone_markdirty 1 5 25 1
dns_zone_expire 1 6 31 1
zone_expire 1 9 56 1
dns_zone_refresh 8 38 251 1
dns_zone_flush 4 17 93 1
dns_zone_dump 2 11 60 1
zone_needdump 6 17 122 2
dump_done 20 64 375 2
zone_dump 15 75 431 2
dumptostream 3 20 140 4
dns_zone_dumptostream2 1 4 32 4
dns_zone_dumptostream 1 4 25 2
dns_zone_fulldumptostream 1 4 25 2
dns_zone_unload 1 6 31 1
notify_cancel 4 12 76 1
zone_unload 1 8 55 1
dns_zone_setminrefreshtime 1 5 32 2
dns_zone_setmaxrefreshtime 1 5 32 2
dns_zone_setminretrytime 1 5 32 2
dns_zone_setmaxretrytime 1 5 32 2
notify_isqueued 8 15 111 3
notify_isself 7 30 184 2
notify_destroy 9 26 191 2
notify_create 3 19 137 3
process_adb_event 3 21 118 2
notify_find_address 4 25 152 1
notify_send_queue 3 17 99 1
notify_send_toaddr 19 83 537 2
notify_send 7 33 205 1
dns_zone_notify 1 9 50 1
zone_notify 26 145 904 2
save_nsrrset 13 70 423 4
stub_callback 36 198 1220 2
refresh_callback 59 288 1661 2
queue_soa_query 4 27 157 1
create_query 7 36 221 3
add_opt 7 38 241 2
soa_query 37 140 883 2
ns_query 37 169 1105 3
zone_shutdown 15 56 384 2
zone_timer 1 9 58 2
zone_settimer 28 69 463 2
cancel_refresh 1 10 58 1
notify_createmessage 25 130 854 3
dns_zone_notifyreceive 23 100 593 3
dns_zone_setnotifyacl 2 8 56 2
dns_zone_setqueryacl 2 8 56 2
dns_zone_setupdateacl 2 8 56 2
dns_zone_setforwardacl 2 8 56 2
dns_zone_setxfracl 2 8 56 2
dns_zone_getnotifyacl 1 4 23 1
dns_zone_getqueryacl 1 4 23 1
dns_zone_getupdateacl 1 4 23 1
dns_zone_getforwardacl 1 4 23 1
dns_zone_getxfracl 1 4 23 1
dns_zone_clearupdateacl 2 7 42 1
dns_zone_clearforwardacl 2 7 42 1
dns_zone_clearnotifyacl 2 7 42 1
dns_zone_clearqueryacl 2 7 42 1
dns_zone_clearxfracl 2 7 42 1
dns_zone_getupdatedisabled 1 4 23 1
dns_zone_setupdatedisabled 1 4 25 2
dns_zone_getzeronosoattl 1 4 23 1
dns_zone_setzeronosoattl 1 4 25 2
dns_zone_setchecknames 1 4 25 2
dns_zone_getchecknames 1 4 23 1
dns_zone_setjournalsize 1 4 25 2
dns_zone_getjournalsize 1 4 23 1
zone_tostr 9 22 216 3
dns_zone_name 1 5 39 3
notify_log 2 13 103 4
dns_zone_logc 2 14 107 5
dns_zone_log 2 13 103 4
zone_debuglog 2 16 118 5
message_count 4 19 112 3
dns_zone_setmaxxfrin 1 4 25 2
dns_zone_getmaxxfrin 1 4 23 1
dns_zone_setmaxxfrout 1 4 25 2
dns_zone_getmaxxfrout 1 4 23 1
dns_zone_gettype 1 4 23 1
dns_zone_getorigin 1 4 24 1
dns_zone_settask 3 12 95 2
dns_zone_gettask 1 4 29 2
dns_zone_setidlein 2 6 35 2
dns_zone_getidlein 1 4 23 1
dns_zone_setidleout 1 4 25 2
dns_zone_getidleout 1 4 23 1
notify_done 11 48 334 2
dns_zone_replacedb 1 10 72 3
zone_replacedb 24 109 642 3
zone_attachdb 5 13 85 2
zone_detachdb 2 6 47 1
zone_xfrdone 38 174 1054 2
zone_loaddone 5 24 195 2
dns_zone_getssutable 2 9 62 2
dns_zone_setssutable 3 9 62 2
dns_zone_setsigvalidityinterval 1 4 25 2
dns_zone_getsigvalidityinterval 1 4 23 1
queue_xfrin 3 23 146 1
got_transfer_quota 16 97 584 2
forward_destroy 4 10 78 1
sendtomaster 4 31 167 1
forward_callback 18 76 413 2
dns_zone_forwardupdate 6 40 244 4
dns_zone_next 3 9 60 2
dns_zone_first 3 9 60 2
dns_zonemgr_create 8 68 439 5
dns_zonemgr_managezone 2 33 214 2
dns_zonemgr_releasezone 3 18 124 2
dns_zonemgr_attach 2 10 80 2
dns_zonemgr_detach 3 14 83 1
dns_zonemgr_forcemaint 2 16 103 1
dns_zonemgr_resumexfrs 1 6 43 1
dns_zonemgr_shutdown 3 8 55 1
zonemgr_free 1 12 88 1
dns_zonemgr_settransfersin 1 4 25 2
dns_zonemgr_getttransfersin 1 4 23 1
dns_zonemgr_settransfersperns 1 4 25 2
dns_zonemgr_getttransfersperns 1 4 23 1
zmgr_resume_xfrs 5 24 110 2
zmgr_start_xfrin_ifquota 7 45 292 2
dns_zonemgr_setiolimit 1 5 32 2
dns_zonemgr_getiolimit 1 4 23 1
zonemgr_getio 7 39 275 6
zonemgr_putio 5 31 218 1
zonemgr_cancelio 4 18 124 1
zone_saveunique 4 19 127 3
dns_zonemgr_dbdestroyed 1 8 53 2
dns_zonemgr_setserialqueryrate 4 27 152 2
dns_zonemgr_getserialqueryrate 1 4 23 1
dns_zone_forcereload 2 9 48 1
dns_zone_isforced 1 4 26 1
dns_zone_setstatistics 4 16 90 2
dns_zone_getstatscounters 1 3 15 1
dns_zone_dialup 4 12 75 1
dns_zone_setdialup 7 33 138 2
dns_zone_setkeydirectory 1 8 55 2
dns_zone_getkeydirectory 1 4 23 1
dns_zonemgr_getcount 12 41 233 2
dns_zone_checknames 7 37 271 3
dns_zone_setcheckmx 1 4 25 2
dns_zone_setchecksrv 1 4 25 2
dns_zone_setcheckns 1 4 25 2
dns_zone_setisself 1 7 45 3
dns_zone_setnotifydelay 1 6 35 2
dns_zone_getnotifydelay 1 4 23 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/master.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
gettoken 7 35 170 5
dns_loadctx_attach 2 10 76 2
dns_loadctx_detach 3 16 93 1
incctx_destroy 2 11 58 2
loadctx_destroy 7 26 175 1
incctx_create 3 27 197 3
loadctx_create 14 99 650 12
genname 23 81 520 4
openfile_text 1 3 25 2
openfile_raw 3 10 61 2
generate 31 145 954 7
limit_ttl 2 14 57 4
check_ns 9 30 225 4
check_wildcard 3 13 89 4
load_text 198 821 4937 1
pushfile 9 38 271 3
read_and_check 4 15 93 4
load_raw 37 212 1383 1
dns_master_loadfile 1 8 54 7
dns_master_loadfile2 3 21 138 8
dns_master_loadfileinc 1 11 77 11
dns_master_loadfileinc2 4 27 176 12
dns_master_loadstream 4 22 143 7
dns_master_loadstreaminc 5 29 181 11
dns_master_loadbuffer 3 22 139 7
dns_master_loadbufferinc 4 29 177 11
dns_master_loadlexer 2 18 117 7
dns_master_loadlexerinc 3 25 155 11
grow_rdatalist 7 40 298 6
grow_rdata 9 48 357 6
commit 8 45 291 6
is_glue 6 24 145 2
load_quantum 3 19 112 2
task_send 2 10 61 1
dns_loadctx_cancel 1 6 38 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/masterdump.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
indent 10 49 277 4
totext_ctx_init 6 38 260 2
str_totext 2 11 71 2
rdataset_totext 23 115 682 5
question_totext 4 45 229 5
dns_rdataset_totext 4 23 113 5
dns_master_rdatasettotext 2 16 76 4
dns_master_questiontotext 2 16 76 4
dump_rdataset 10 54 345 6
dump_order 4 23 90 1
dump_order_compare 1 4 47 2
dump_rdatasets_text 14 59 414 6
dump_rdataset_raw 6 70 491 5
dump_rdatasets_raw 5 23 132 6
dumpctx_destroy 5 15 130 1
dns_dumpctx_attach 2 10 76 2
dns_dumpctx_detach 3 16 93 1
dns_dumpctx_version 1 4 23 1
dns_dumpctx_db 1 4 23 1
dns_dumpctx_cancel 1 6 38 1
closeandrename 10 35 191 4
dump_quantum 6 26 153 2
task_send 2 9 61 1
dumpctx_create 14 73 456 7
dumptostreaminc 26 133 844 1
dns_master_dumptostreaminc 3 28 167 9
dns_master_dumptostream 1 8 43 5
dns_master_dumptostream2 2 15 93 6
opentmp 4 27 158 4
dns_master_dumpinc 1 9 67 9
dns_master_dumpinc2 8 44 282 10
dns_master_dump 1 6 44 5
dns_master_dump2 3 22 150 6
dns_master_dumpnodetostream 5 35 206 7
dns_master_dumpnode 3 26 152 7
dns_master_stylecreate 3 21 132 9
dns_master_styledestroy 2 7 51 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/ds.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_ds_buildrdata 4 50 368 5
dns_ds_digest_supported 2 4 22 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dbtable.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dbdetach 1 5 29 2
dns_dbtable_create 6 35 222 3
dbtable_free 2 10 81 1
dns_dbtable_attach 2 10 76 2
dns_dbtable_detach 3 16 93 1
dns_dbtable_add 1 12 92 2
dns_dbtable_remove 2 15 115 2
dns_dbtable_adddefault 1 9 80 2
dns_dbtable_getdefault 2 7 61 2
dns_dbtable_removedefault 1 6 44 1
dns_dbtable_find 6 22 158 4
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/xfrin.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
axfr_init 2 12 81 1
axfr_makedb 1 9 41 2
axfr_putdata 2 15 107 5
axfr_apply 1 10 59 1
axfr_commit 1 9 63 1
ixfr_init 3 19 107 1
ixfr_putdata 3 16 113 5
ixfr_apply 5 19 139 1
ixfr_commit 3 13 83 1
xfr_rr 32 126 707 4
dns_xfrin_create 3 21 116 10
dns_xfrin_create2 6 32 228 11
dns_xfrin_shutdown 2 4 24 1
dns_xfrin_attach 2 5 34 2
dns_xfrin_detach 1 7 39 1
xfrin_cancelio 4 11 74 1
xfrin_reset 7 23 177 1
xfrin_fail 5 17 115 3
xfrin_create 9 92 620 13
xfrin_start 1 16 102 1
render 2 18 135 3
xfrin_connect_done 4 30 210 2
tuple2msgname 5 39 280 3
xfrin_send_request 9 67 540 1
xfrin_sendlen_done 3 25 166 2
xfrin_send_done 2 18 130 2
xfrin_recv_done 34 131 855 2
xfrin_timeout 1 7 52 2
maybe_free 18 34 302 1
xfrin_logv 1 12 81 5
xfrin_log1 2 10 64 5
xfrin_log 2 11 84 4
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/ncache.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
copy_rdataset 6 30 198 2
dns_ncache_add 21 106 640 7
dns_ncache_towire 10 81 575 5
rdataset_disassociate 1 3 13 1
rdataset_first 2 14 78 1
rdataset_next 2 15 84 1
rdataset_current 1 9 73 2
rdataset_clone 1 5 30 2
rdataset_count 1 6 40 1
dns_ncache_getrdataset 7 62 435 4
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/portlist.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
compare 3 9 74 2
dns_portlist_create 5 27 187 2
find_port 8 30 181 3
dns_portlist_add 9 46 314 3
dns_portlist_remove 6 22 151 3
dns_portlist_match 8 18 136 3
dns_portlist_attach 2 6 47 2
dns_portlist_detach 3 20 129 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/order.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_order_create 4 19 132 2
dns_order_add 4 22 144 5
match 2 5 39 2
dns_order_find 7 18 115 4
dns_order_attach 2 6 47 2
dns_order_detach 3 19 137 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/rbtdb64.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/cache.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
adjust_increment 8 46 267 3
cache_create_db 1 5 44 2
dns_cache_create 15 81 537 8
cache_free 11 37 317 1
dns_cache_attach 2 8 58 2
dns_cache_detach 6 30 164 1
dns_cache_attachdb 2 8 66 2
dns_cache_setfilename 3 14 98 2
dns_cache_load 2 10 66 1
dns_cache_dump 2 11 75 1
dns_cache_setcleaninginterval 4 26 145 2
cache_cleaner_init 15 89 486 4
begin_cleaning 7 38 233 1
end_cleaning 2 15 105 2
cleaning_timer_action 2 12 83 2
overmem_cleaning_action 5 24 150 2
incremental_cleaning_action 9 79 450 2
dns_cache_clean 6 29 170 2
water 2 12 98 2
dns_cache_setcachesize 6 13 106 2
cleaner_shutdown_action 5 22 162 2
dns_cache_flush 5 24 171 1
dns_cache_flushname 10 44 267 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/acache.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
reset_stats 1 11 80 1
check_noentry 3 6 35 1
shutdown_entries 5 23 164 1
shutdown_buckets 4 17 133 1
shutdown_task 1 12 73 2
unlink_dbentries 3 18 131 2
destroy_entry 1 9 62 1
destroy 5 21 180 1
finddbent 5 20 134 3
clear_entry 9 35 265 2
acache_cleaner_init 10 74 373 3
begin_cleaning 3 22 151 1
end_cleaning 5 51 328 2
acache_cleaning_timer_action 2 11 74 2
entry_stale 7 22 138 4
acache_incremental_cleaning_action 10 76 473 2
acache_overmem_cleaning_action 5 23 141 2
water 3 15 120 2
acache_cleaner_shutdown_action 5 25 184 2
dns_acache_create 15 91 635 4
dns_acache_attach 2 7 54 2
dns_acache_countquerymiss 1 4 22 1
dns_acache_detach 6 20 114 1
dns_acache_shutdown 2 18 122 1
dns_acache_setdb 3 33 211 2
dns_acache_putdb 11 57 453 2
dns_acache_createentry 5 45 301 5
dns_acache_getentry 17 74 524 8
dns_acache_setentry 17 88 567 7
dns_acache_cancelentry 1 14 106 1
dns_acache_attachentry 2 8 47 2
dns_acache_detachentry 3 13 86 1
dns_acache_setcleaninginterval 4 33 176 2
dns_acache_setcachesize 6 14 106 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dst_lib.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
open_msgcat 1 3 14 1
dst_lib_initmsgcat 1 3 19 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/adb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
DP 1 8 44 3
ttlclamp 3 7 32 1
import_rdataset 19 109 634 3
kill_name 7 36 241 2
check_expire_namehooks 13 42 269 3
link_name 1 6 52 3
unlink_name 3 13 100 2
link_entry 1 5 43 3
unlink_entry 3 13 100 2
violate_locking_hierarchy 2 7 38 2
shutdown_names 4 25 150 1
shutdown_entries 7 28 170 1
cancel_fetches_at_name 3 6 40 1
clean_namehooks 6 29 187 2
clean_target 2 6 39 2
set_target 9 52 348 5
event_free 1 10 61 1
clean_finds_at_name 7 64 362 3
check_exit 2 9 51 1
dec_adb_irefcnt 5 22 142 1
inc_adb_irefcnt 1 5 29 1
inc_adb_erefcnt 1 5 29 1
inc_entry_refcnt 3 9 59 3
dec_entry_refcnt 8 25 158 3
new_adbname 3 30 201 2
free_adbname 2 16 132 2
new_adbnamehook 2 10 60 2
free_adbnamehook 2 10 74 2
new_adblameinfo 3 16 113 3
free_adblameinfo 2 10 77 2
new_adbentry 2 17 102 1
free_adbentry 3 18 132 2
new_adbfind 3 29 187 1
new_adbfetch 6 26 169 1
free_adbfetch 5 14 108 2
free_adbfind 2 15 119 2
new_adbaddrinfo 2 14 97 3
free_adbaddrinfo 2 10 74 2
find_name_and_lock 8 26 176 4
find_entry_and_lock 5 20 148 3
entry_is_lame 8 22 140 5
copy_namehook_lists 11 60 374 6
shutdown_task 1 11 70 2
check_expire_name 8 19 138 2
check_expire_entry 8 26 172 3
cleanup_names 4 22 158 3
cleanup_entries 2 15 114 3
timer_cleanup 5 29 193 2
destroy 1 17 135 1
dns_adb_create 21 121 876 5
dns_adb_attach 2 6 42 2
dns_adb_detach 4 18 119 1
dns_adb_whenshutdown 4 24 162 3
dns_adb_shutdown 4 14 85 1
dns_adb_createfind 55 203 1159 12
dns_adb_destroyfind 4 33 220 1
dns_adb_cancelfind 4 41 258 1
dns_adb_dump 3 14 120 2
dump_ttl 2 5 40 4
dump_adb 17 61 482 4
dump_entry 4 26 195 4
dns_adb_dumpfind 6 38 252 2
print_dns_name 1 6 46 2
print_namehook_list 3 13 80 5
print_fetch 1 4 40 3
print_fetch_list 3 6 48 2
print_find_list 2 8 49 2
dbfind_name 23 102 538 3
fetch_callback 22 124 802 2
fetch_name 12 60 333 3
dns_adb_marklame 7 31 209 5
dns_adb_adjustsrtt 2 22 158 4
dns_adb_changeflags 1 12 109 4
dns_adb_findaddrinfo 6 41 229 4
dns_adb_freeaddrinfo 2 27 174 2
dns_adb_flush 4 11 101 1
dns_adb_flushname 4 22 146 2
water 3 14 95 2
dns_adb_setadbsize 6 13 106 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/resolver.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
valcreate 5 31 226 8
fix_mustbedelegationornxdomain 19 61 360 2
fctx_starttimer 1 4 29 1
fctx_stoptimer 2 10 50 1
fctx_startidletimer 1 5 32 1
resquery_destroy 2 13 93 1
fctx_cancelquery 28 81 555 4
fctx_cancelqueries 2 10 65 2
fctx_cleanupfinds 2 12 78 1
fctx_cleanupaltfinds 2 12 78 1
fctx_cleanupforwaddrs 2 11 76 1
fctx_cleanupaltaddrs 2 11 76 1
fctx_stopeverything 1 9 48 2
fctx_sendevents 19 54 379 2
fctx_done 2 16 100 2
resquery_senddone 12 44 228 2
fctx_addopt 4 34 219 3
fctx_setretryinterval 4 16 98 2
fctx_query 26 186 972 3
triededns 3 10 61 2
add_triededns 3 11 76 2
triededns512 3 10 61 2
add_triededns512 3 11 76 2
resquery_send 50 200 1371 1
resquery_connected 14 69 364 2
fctx_finddone 12 41 263 2
bad_server 3 10 61 2
mark_bad 11 46 274 1
add_bad 9 53 384 3
sort_adbfind 4 17 110 1
sort_finds 7 43 285 1
findname 24 64 416 7
fctx_getaddresses 29 135 818 1
possibly_mark 14 54 345 2
fctx_nextaddress 30 103 566 1
fctx_try 6 31 167 1
fctx_destroy 9 59 524 1
fctx_timeout 5 26 162 2
fctx_shutdown 3 12 67 1
fctx_doshutdown 10 36 246 2
fctx_start 6 40 260 2
fctx_join 3 36 228 9
fctx_create 21 176 1214 8
is_lame 11 37 224 1
log_lame 1 12 94 2
same_question 6 21 146 1
clone_results 9 34 247 1
maybe_destroy 8 25 181 1
validated 58 225 1456 2
cache_name 76 245 1348 4
cache_message 7 31 189 3
ncache_adderesult 8 28 151 8
ncache_message 21 107 642 4
mark_related 5 18 95 4
check_related 10 50 271 3
chase_additional 6 31 161 1
cname_target 3 16 101 2
dname_target 4 31 188 4
noanswer_response 65 199 1057 3
answer_response 59 233 1107 1
resume_dslookup 16 100 664 2
checknamessection 6 31 166 2
checknames 1 5 29 1
log_packet 7 27 163 3
resquery_response 83 371 2130 2
destroy 8 38 336 1
send_shutdown_events 2 13 81 1
empty_bucket 2 9 56 1
spillattimer_countdown 4 27 157 2
dns_resolver_create 26 141 987 10
prime_done 7 35 274 2
dns_resolver_prime 6 43 262 1
dns_resolver_freeze 1 5 30 1
dns_resolver_attach 2 12 91 2
dns_resolver_whenshutdown 3 21 125 3
dns_resolver_shutdown 8 43 297 1
dns_resolver_detach 4 19 113 1
fctx_match 3 7 51 4
log_fetch 2 12 84 2
dns_resolver_createfetch 1 15 90 13
dns_resolver_createfetch2 27 108 687 15
dns_resolver_cancelfetch 5 31 195 1
dns_resolver_destroyfetch 9 42 262 1
dns_resolver_dispatchmgr 1 4 23 1
dns_resolver_dispatchv4 1 4 23 1
dns_resolver_dispatchv6 1 4 23 1
dns_resolver_socketmgr 1 4 23 1
dns_resolver_taskmgr 1 4 23 1
dns_resolver_getlamettl 1 4 23 1
dns_resolver_setlamettl 1 4 25 2
dns_resolver_nrunning 1 7 39 1
dns_resolver_addalternate 4 27 210 4
dns_resolver_setudpsize 1 4 25 2
dns_resolver_getudpsize 1 4 23 1
free_algorithm 1 5 35 2
dns_resolver_reset_algorithms 4 7 52 1
dns_resolver_disable_algorithm 13 46 293 3
dns_resolver_algorithm_supported 9 26 176 3
dns_resolver_digest_supported 1 4 25 2
dns_resolver_resetmustbesecure 4 7 52 1
dns_resolver_setmustbesecure 6 18 109 3
dns_resolver_getmustbesecure 6 15 109 2
dns_resolver_getclientsperquery 4 13 83 4
dns_resolver_setclientsperquery 1 9 54 3
dns_resolver_getzeronosoattl 1 4 23 1
dns_resolver_setzeronosoattl 1 4 25 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/gssapictx.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
name_to_gbuffer 2 20 115 3
dst_gssapi_acquirecred 6 30 176 3
dst_gssapi_initctx 7 44 272 5
dst_gssapi_acceptctx 4 34 214 5
dst_gssapi_acquirecred 1 6 35 3
dst_gssapi_initctx 1 11 54 5
dst_gssapi_acceptctx 1 11 54 5
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/sdb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_sdb_register 5 38 244 6
dns_sdb_unregister 2 12 78 1
initial_size 3 7 46 1
dns_sdb_putrdata 9 51 341 5
dns_sdb_putrr 14 74 441 4
getnode 11 50 379 3
dns_sdb_putnamedrr 2 10 72 5
dns_sdb_putnamedrdata 2 11 76 6
dns_sdb_putsoa 3 15 120 4
attach 1 9 65 2
destroy 2 18 133 1
detach 3 14 90 1
beginload 1 6 36 3
endload 1 5 27 2
dump 1 8 45 4
currentversion 2 6 41 2
newversion 1 5 27 2
attachversion 3 9 56 3
closeversion 2 7 54 3
createnode 3 23 166 2
destroynode 5 32 241 1
findnode 13 59 398 4
find 30 108 611 10
findzonecut 1 14 80 8
attachnode 1 12 93 3
detachnode 4 18 123 2
expirenode 1 7 40 3
printnode 1 6 33 3
createiterator 5 35 260 3
findrdataset 5 26 154 8
allrdatasets 3 20 151 5
addrdataset 1 13 71 7
subtractrdataset 1 12 63 6
deleterdataset 1 10 52 5
issecure 1 4 18 1
nodecount 1 4 18 1
ispersistent 1 4 18 1
overmem 1 4 21 2
settask 1 4 22 2
dns_sdb_create 9 65 451 8
disassociate 1 7 51 1
rdataset_clone 1 9 71 2
list_tordataset 1 9 51 4
dbiterator_destroy 2 13 107 1
dbiterator_first 2 8 48 1
dbiterator_last 2 8 48 1
dbiterator_seek 3 8 64 2
dbiterator_prev 2 8 50 1
dbiterator_next 2 8 50 1
dbiterator_current 2 9 66 3
dbiterator_pause 1 4 18 1
dbiterator_origin 1 4 29 2
rdatasetiter_destroy 1 7 60 1
rdatasetiter_first 2 8 60 1
rdatasetiter_next 2 8 50 1
rdatasetiter_current 1 5 39 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/journal.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
decode_uint32 1 6 52 1
encode_uint32 1 6 72 2
dns_db_createsoatuple 4 33 207 5
journal_pos_decode 1 4 34 2
journal_pos_encode 1 4 34 2
journal_header_decode 1 7 94 2
journal_header_encode 1 8 112 2
journal_seek 2 12 72 2
journal_read 3 14 88 3
journal_write 2 12 77 3
journal_fsync 3 18 96 1
journal_read_xhdr 2 11 82 2
journal_write_xhdr 1 9 63 4
journal_read_rrhdr 2 9 60 2
journal_file_create 5 50 314 2
journal_open 15 92 670 5
dns_journal_open 5 18 134 4
ixfr_order 3 16 134 2
journal_next 6 29 197 2
index_find 6 11 100 3
index_add 7 23 177 2
index_invalidate 4 9 71 2
journal_find 7 24 172 3
dns_journal_begin_transaction 2 24 182 1
dns_journal_writediff 7 54 447 2
dns_journal_commit 12 62 528 1
dns_journal_write_transaction 1 10 62 2
dns_journal_destroy 6 22 225 1
roll_forward 15 83 534 2
dns_journal_rollforward 4 21 126 3
dns_journal_print 14 82 490 3
dns_journal_first_serial 1 3 19 1
dns_journal_last_serial 1 3 19 1
size_buffer 4 13 90 3
dns_journal_iter_init 1 13 100 3
dns_journal_first_rr 1 10 72 1
read_one_rr 10 68 584 1
dns_journal_next_rr 1 4 28 1
dns_journal_current_rr 1 8 60 4
get_name_diff 8 49 275 7
rdata_order 2 12 98 2
dns_diff_subtract 10 45 379 2
dns_db_diff 18 102 806 6
dns_journal_compact 40 147 1092 4
index_to_disk 3 21 157 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/ssu.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_ssutable_create 4 20 131 2
destroy 5 25 196 1
dns_ssutable_attach 2 10 76 2
dns_ssutable_detach 3 15 89 1
dns_ssutable_addrule 15 74 502 7
isusertype 3 5 25 1
dns_ssutable_checkrules 26 65 422 4
dns_ssurule_isgrant 1 4 24 1
dns_ssurule_identity 1 4 24 1
dns_ssurule_matchtype 1 4 24 1
dns_ssurule_name 1 4 24 1
dns_ssurule_types 2 6 47 2
dns_ssutable_firstrule 3 6 55 2
dns_ssutable_nextrule 3 6 54 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/request.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_requestmgr_create 11 68 440 8
dns_requestmgr_whenshutdown 2 22 129 3
dns_requestmgr_shutdown 1 7 49 1
mgr_shutdown 4 15 83 1
requestmgr_attach 2 9 70 2
requestmgr_detach 5 22 144 1
dns_requestmgr_attach 2 11 86 2
dns_requestmgr_detach 5 21 137 1
send_shutdown_events 2 14 93 1
mgr_destroy 4 18 138 1
mgr_gethash 1 5 32 1
req_send 2 14 102 3
new_request 2 28 188 2
isblackholed 5 20 121 2
create_tcp_dispatch 5 40 213 4
find_udp_dispatch 7 46 199 4
get_dispatch 2 13 62 5
set_timer 3 14 97 3
dns_request_createraw 1 10 73 10
dns_request_createraw2 2 15 95 11
dns_request_createraw3 28 127 868 12
dns_request_create 1 11 75 10
dns_request_createvia 1 11 79 11
dns_request_createvia2 2 15 101 12
dns_request_createvia3 26 133 865 13
req_render 19 67 421 4
send_if_done 4 6 37 2
do_cancel 2 11 90 2
dns_request_cancel 3 12 108 1
dns_request_getresponse 5 21 144 3
dns_request_usedtcp 1 4 32 1
dns_request_destroy 2 19 171 1
req_connected 5 28 196 2
req_senddone 4 22 168 2
req_response 4 28 211 2
req_timeout 5 24 166 2
req_sendevent 1 9 74 2
req_destroy 10 27 213 1
req_cancel 5 19 134 1
req_log 1 7 44 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/openssldsa_link.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
openssldsa_createctx 1 8 51 2
openssldsa_destroyctx 2 8 49 1
openssldsa_adddata 1 5 39 2
BN_bn2bin_fixed 2 7 51 3
openssldsa_sign 3 23 182 2
openssldsa_verify 3 23 166 2
openssldsa_compare 14 23 190 2
openssldsa_generate 8 34 202 2
openssldsa_isprivate 2 4 37 1
openssldsa_destroy 1 5 27 1
openssldsa_todns 3 27 231 2
openssldsa_fromdns 5 36 266 2
openssldsa_tofile 2 36 358 2
openssldsa_parse 10 47 273 2
dst__openssldsa_init 2 6 33 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dbiterator.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_dbiterator_destroy 1 6 44 1
dns_dbiterator_first 1 4 28 1
dns_dbiterator_last 1 4 28 1
dns_dbiterator_seek 1 4 34 2
dns_dbiterator_prev 1 4 28 1
dns_dbiterator_next 1 4 28 1
dns_dbiterator_current 3 8 64 3
dns_dbiterator_pause 1 4 28 1
dns_dbiterator_origin 1 6 49 2
dns_dbiterator_setcleanmode 1 4 25 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/acl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_acl_create 5 33 215 3
dns_acl_appendelement 4 21 148 2
dns_acl_anyornone 2 12 85 3
dns_acl_any 1 3 24 2
dns_acl_none 1 3 24 2
dns_acl_match 5 21 143 6
dns_acl_elementmatch 5 17 105 3
dns_aclelement_match 21 71 323 5
dns_acl_attach 1 5 35 2
destroy 6 24 163 1
dns_acl_detach 2 9 54 1
dns_aclelement_equal 9 24 165 2
dns_acl_equal 5 13 93 2
is_loopback 7 17 91 1
dns_acl_isinsecure 11 28 138 1
dns_aclenv_init 3 17 101 2
dns_aclenv_copy 1 7 60 2
dns_aclenv_destroy 1 4 24 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/dst_internal.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/tkey.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
tkey_log 1 7 44 2
dns_tkeyctx_create 3 19 129 3
dns_tkeyctx_destroy 5 18 128 1
add_rdata_to_list 6 50 384 5
free_namelist 3 14 97 2
compute_secret 6 35 301 4
process_dhtkey 20 131 851 8
process_gsstkey 10 56 373 8
process_deletetkey 4 25 141 7
dns_tkey_processquery 30 188 1196 3
buildquery 5 55 397 3
dns_tkey_builddhquery 4 61 427 6
dns_tkey_buildgssquery 4 37 264 6
dns_tkey_builddeletequery 1 17 143 2
find_tkey 5 25 139 4
dns_tkey_processdhresponse 17 110 753 6
dns_tkey_processgssresponse 6 49 346 7
dns_tkey_processdeleteresponse 7 38 254 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/hmac_link.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
getkeybits 2 6 54 2
hmacmd5_createctx 2 10 71 2
hmacmd5_destroyctx 2 8 49 1
hmacmd5_adddata 1 5 39 2
hmacmd5_sign 2 10 65 2
hmacmd5_verify 3 9 60 2
hmacmd5_compare 6 13 100 2
hmacmd5_generate 3 20 137 2
hmacmd5_isprivate 1 4 19 1
hmacmd5_destroy 1 6 48 1
hmacmd5_todns 2 11 82 2
hmacmd5_fromdns 4 26 178 2
hmacmd5_tofile 2 20 185 2
hmacmd5_parse 8 34 230 2
dst__hmacmd5_init 2 6 33 1
hmacsha1_createctx 2 10 71 2
hmacsha1_destroyctx 2 8 49 1
hmacsha1_adddata 1 5 39 2
hmacsha1_sign 2 10 67 2
hmacsha1_verify 4 9 66 2
hmacsha1_compare 6 13 100 2
hmacsha1_generate 3 20 137 2
hmacsha1_isprivate 1 4 19 1
hmacsha1_destroy 1 6 48 1
hmacsha1_todns 2 11 82 2
hmacsha1_fromdns 4 26 178 2
hmacsha1_tofile 2 20 185 2
hmacsha1_parse 7 35 226 2
dst__hmacsha1_init 2 6 33 1
hmacsha224_createctx 2 10 71 2
hmacsha224_destroyctx 2 8 49 1
hmacsha224_adddata 1 5 39 2
hmacsha224_sign 2 10 67 2
hmacsha224_verify 4 9 66 2
hmacsha224_compare 6 13 100 2
hmacsha224_generate 3 20 137 2
hmacsha224_isprivate 1 4 19 1
hmacsha224_destroy 1 6 48 1
hmacsha224_todns 2 11 82 2
hmacsha224_fromdns 4 26 178 2
hmacsha224_tofile 2 20 185 2
hmacsha224_parse 7 35 226 2
dst__hmacsha224_init 2 6 33 1
hmacsha256_createctx 2 10 71 2
hmacsha256_destroyctx 2 8 49 1
hmacsha256_adddata 1 5 39 2
hmacsha256_sign 2 10 67 2
hmacsha256_verify 4 9 66 2
hmacsha256_compare 6 13 100 2
hmacsha256_generate 3 20 137 2
hmacsha256_isprivate 1 4 19 1
hmacsha256_destroy 1 6 48 1
hmacsha256_todns 2 11 82 2
hmacsha256_fromdns 4 26 178 2
hmacsha256_tofile 2 20 185 2
hmacsha256_parse 7 35 226 2
dst__hmacsha256_init 2 6 33 1
hmacsha384_createctx 2 10 71 2
hmacsha384_destroyctx 2 8 49 1
hmacsha384_adddata 1 5 39 2
hmacsha384_sign 2 10 67 2
hmacsha384_verify 4 9 66 2
hmacsha384_compare 6 13 100 2
hmacsha384_generate 3 20 137 2
hmacsha384_isprivate 1 4 19 1
hmacsha384_destroy 1 6 48 1
hmacsha384_todns 2 11 82 2
hmacsha384_fromdns 4 26 178 2
hmacsha384_tofile 2 20 185 2
hmacsha384_parse 7 35 226 2
dst__hmacsha384_init 2 6 33 1
hmacsha512_createctx 2 10 71 2
hmacsha512_destroyctx 2 8 49 1
hmacsha512_adddata 1 5 39 2
hmacsha512_sign 2 10 67 2
hmacsha512_verify 4 9 66 2
hmacsha512_compare 6 13 100 2
hmacsha512_generate 3 20 137 2
hmacsha512_isprivate 1 4 19 1
hmacsha512_destroy 1 6 48 1
hmacsha512_todns 2 11 82 2
hmacsha512_fromdns 4 26 178 2
hmacsha512_tofile 2 20 185 2
hmacsha512_parse 7 35 226 2
dst__hmacsha512_init 2 6 33 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/keytable.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
free_keynode 2 9 69 2
dns_keytable_create 6 31 202 2
dns_keytable_attach 2 10 80 2
dns_keytable_detach 5 22 159 1
dns_keytable_add 5 28 192 2
dns_keytable_findkeynode 8 33 217 5
dns_keytable_findnextkeynode 6 23 151 3
dns_keytable_finddeepestmatch 3 16 107 3
dns_keytable_detachkeynode 2 10 68 2
dns_keytable_issecuredomain 4 22 139 3
dns_keynode_key 1 4 23 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/lookup.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fetch_done 1 11 81 2
start_fetch 1 13 79 1
build_event 11 51 313 1
view_find 2 14 99 2
lookup_find 32 138 881 2
levent_destroy 7 25 190 1
dns_lookup_create 5 59 407 9
dns_lookup_cancel 3 12 73 1
dns_lookup_destroy 3 17 129 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/zt.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dns_zt_create 5 26 176 3
dns_zt_mount 2 13 92 2
dns_zt_unmount 1 10 72 2
dns_zt_find 4 17 129 5
dns_zt_attach 2 10 80 2
flush 1 4 25 2
zt_flushanddetach 5 21 150 2
dns_zt_flushanddetach 1 3 15 1
dns_zt_detach 1 3 15 1
dns_zt_load 1 8 60 2
load 3 8 46 2
dns_zt_loadnew 1 8 60 2
loadnew 4 9 50 2
dns_zt_freezezones 2 8 74 2
freezezones 15 55 319 2
dns_zt_apply 1 5 44 4
dns_zt_apply2 12 38 239 5
auto_detach 1 5 29 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/openssldh_link.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
openssldh_computesecret 3 21 142 3
openssldh_compare 13 22 181 2
openssldh_paramcompare 7 15 115 2
openssldh_generate 15 44 261 2
openssldh_isprivate 2 4 37 1
openssldh_destroy 6 11 79 1
uint16_toregion 1 4 38 2
uint16_fromregion 1 8 64 1
openssldh_todns 10 42 298 2
openssldh_fromdns 22 97 545 2
openssldh_tofile 6 47 408 2
openssldh_parse 19 69 452 2
BN_fromhex 3 20 196 2
openssldh_cleanup 1 6 30 1
dst__openssldh_init 2 15 91 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/dns/opensslrsa_link.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
opensslrsa_createctx 5 21 136 2
opensslrsa_destroyctx 5 18 118 1
opensslrsa_adddata 3 12 94 2
opensslrsa_sign 7 42 271 2
opensslrsa_verify 5 28 189 2
opensslrsa_compare 14 24 196 2
opensslrsa_generate 10 39 231 2
opensslrsa_isprivate 2 4 37 1
opensslrsa_destroy 1 5 27 1
opensslrsa_todns 5 29 202 2
opensslrsa_fromdns 7 39 258 2
opensslrsa_tofile 6 67 632 2
opensslrsa_parse 13 56 305 2
dst__opensslrsa_init 2 6 33 1
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/bind9/include/bind9/version.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/bind9/include/bind9/getaddresses.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/bind9/include/bind9/check.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/bind9/version.c
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/bind9/check.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
freekey 1 5 36 4
check_orderent 14 72 466 2
check_order 4 17 101 2
check_dual_stack 9 55 331 2
check_forward 3 12 86 2
disabled_algorithms 5 45 278 2
nameexist 5 30 196 7
mustbesecure 2 29 183 4
checkacl 9 27 192 7
check_viewacls 3 16 113 5
check_options 39 225 1460 3
get_masters_def 4 21 136 3
validate_masters 14 88 491 5
check_update_policy 9 66 439 2
check_zoneconf 52 252 1676 8
bind9_check_key 17 75 490 2
check_keylist 6 36 220 3
check_servers 10 59 400 2
check_viewconf 35 120 787 5
bind9_check_logging 16 99 599 3
key_exists 4 17 100 2
bind9_check_controlskeys 4 24 135 3
bind9_check_controls 15 84 520 3
bind9_check_namedconf 45 198 1241 3
Source file: /home/sergeyb/sources/src/usr.sbin/bind/lib/bind9/getaddresses.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
bind9_getaddresses 41 132 806 5
Source file: /home/sergeyb/sources/src/usr.sbin/bind/bin/dig/include/dig/dig.h
Source file: /home/sergeyb/sources/src/usr.sbin/bind/bin/dig/dig.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_usage 1 6 17 1
usage 1 6 24 1
version 1 3 15 1
help 3 67 79 1
received 11 40 266 3
trying 1 4 22 2
say_message 5 24 177 3
short_answer 8 42 243 4
printrdataset 13 37 233 3
printmessage 60 183 1077 3
printgreeting 10 32 236 3
parse_uint 4 10 73 3
plus_option 90 363 1544 3
dash_option 67 308 1876 9
preparse_args 5 21 123 2
getaddresses 3 20 140 2
parse_args 53 221 1328 4
dighost_shutdown 9 40 234 1
main 7 40 221 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/bin/dig/nslookup.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dighost_shutdown 2 10 42 1
printsoa 1 17 134 1
printa 1 10 79 1
printrdataset 1 8 36 3
printrdata 6 24 159 1
printsection 11 61 318 4
detailsection 15 77 377 4
received 1 6 30 3
trying 1 4 22 2
printmessage 8 43 309 3
show_settings 12 40 239 2
testtype 2 14 69 1
testclass 2 14 69 1
safecpy 1 3 24 3
parse_uint 4 14 86 4
set_port 2 7 42 1
set_timeout 2 6 37 1
set_tries 2 6 37 1
setoption 41 82 920 1
addlookup 5 60 379 1
get_next_command 15 50 320 1
parse_args 5 22 134 2
flush_lookup_list 9 44 300 1
getinput 4 13 58 2
main 6 39 222 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/bin/dig/host.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
show_usage 1 24 37 1
dighost_shutdown 1 3 10 1
received 2 12 81 3
trying 2 5 29 2
say_message 4 32 198 4
printrdataset 1 8 36 3
printsection 27 104 557 5
printrdata 3 19 129 5
chase_cnamechain 3 23 145 2
printmessage 45 161 1075 3
pre_parse_args 25 41 206 2
parse_args 43 179 875 3
main 5 32 187 2
Source file: /home/sergeyb/sources/src/usr.sbin/bind/bin/dig/dighost.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mem_alloc 1 3 21 2
mem_free 1 3 24 3
next_token 3 9 50 2
count_dots 3 11 48 1
hex_dump 4 13 87 1
append 2 7 54 4
reverse_octets 4 17 120 3
get_reverse 8 35 227 5
fatal 3 13 76 2
debug 2 9 48 2
check_result 2 5 32 2
make_server 2 14 103 3
addr2af 3 13 41 1
copy_server_list 2 15 121 2
flush_server_list 2 11 62 1
set_nameserver 5 24 152 1
add_nameserver 5 22 141 3
clone_server_list 2 12 81 2
make_empty_lookup 4 69 418 1
clone_lookup 5 55 425 2
requeue_lookup 2 15 100 2
setup_text_key 5 40 244 1
setup_file_key 10 48 206 1
make_searchlist_entry 2 10 63 1
create_search_list 2 10 63 1
setup_system 19 50 304 1
clear_searchlist 2 7 41 1
set_search_domain 1 6 32 1
setup_libs 5 35 250 1
add_opt 2 30 196 4
add_question 1 13 76 4
check_if_done 5 11 65 1
clear_query 6 28 191 1
try_clear_lookup 4 17 95 1
destroy_lookup 7 27 181 1
start_lookup 10 79 435 1
check_next_lookup 3 12 58 1
followup_lookup 25 114 709 3
next_origin 8 25 185 2
insert_soa 1 49 368 1
setup_lookup 54 264 1833 1
send_done 6 31 193 2
cancel_lookup 4 20 111 1
bringup_timer 4 23 136 2
send_tcp_connect 12 63 369 1
send_udp 5 57 383 1
connect_timeout 8 46 265 2
tcp_length_done 4 66 399 2
launch_next_query 5 46 319 2
connect_done 7 64 362 2
check_for_more_data 19 104 529 3
recv_done 111 394 2315 2
get_address 2 11 70 3
do_lookup 2 9 53 1
onrun_callback 1 7 31 2
cancel_all 7 36 177 1
destroy_libs 24 88 490 1
initialize_idn 3 11 59 1
output_filter 12 32 247 3
append_textname 5 13 98 3
idn_check_result 2 6 36 2
print_type 1 14 88 1
dump_database_section 3 16 102 2
dump_database 5 15 100 1
search_type 9 31 207 3
chase_scanname_section 4 17 100 5
chase_scanname 8 32 176 3
sigchase_scanname 6 43 275 4
insert_trustedkey 3 9 40 1
clean_trustedkey 3 13 69 0
removetmpkey 2 17 105 2
opentmpkey 11 59 348 4
get_trusted_key 11 56 306 1
nameFromString 2 18 131 2
prepare_lookup 9 104 704 1
child_of_zone 3 23 126 3
grandfather_pb_test 3 22 132 2
initialization 2 17 83 1
print_rdataset 1 13 90 3
dup_name 2 7 51 3
free_name 1 4 26 2
contains_trusted_key 9 47 253 4
sigchase_verify_sig 3 29 165 5
sigchase_verify_sig_key 4 35 214 5
sigchase_verify_ds 8 75 397 4
advanced_rrsearch 4 18 95 5
sigchase_td 42 302 1277 1
getneededrr 23 137 714 1
sigchase_bu 13 118 558 1
sigchase 4 8 30 1
inf_name 8 32 182 2
prove_nx_domain 10 65 342 5
prove_nx_type 3 28 151 8
prove_nx 4 37 184 7
Source file: /home/sergeyb/sources/src/usr.sbin/bind/acconfig.h
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.lockd/lockd_lock.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fhcmp 1 4 31 2
fhconv 3 19 94 2
fhfree 1 4 15 1
lock_lookup 7 17 109 2
testlock 4 25 144 2
getlock 29 122 781 3
unlock 14 47 296 2
lalloc 1 4 18 1
lfree 1 8 49 1
sigchild_handler 12 48 237 1
do_lock 24 92 527 2
send_granted 10 66 513 2
do_unlock 10 40 197 1
siglock 2 9 46 1
sigunlock 2 9 46 1
do_mon 5 41 286 1
notify 9 37 194 2
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.lockd/lockd.h
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.lockd/test.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
nlm_test_1 2 10 67 2
nlm_lock_1 2 13 89 2
nlm_cancel_1 2 10 67 2
nlm_unlock_1 2 10 67 2
nlm_granted_1 2 10 67 2
nlm_test_msg_1 2 10 71 2
nlm_lock_msg_1 2 10 77 2
nlm_cancel_msg_1 2 10 71 2
nlm_unlock_msg_1 2 10 71 2
nlm_granted_msg_1 2 10 71 2
nlm_test_res_1 2 10 70 2
nlm_lock_res_1 2 10 70 2
nlm_cancel_res_1 2 10 70 2
nlm_unlock_res_1 2 10 70 2
nlm_granted_res_1 2 10 70 2
nlm_share_3 2 10 66 2
nlm_unshare_3 2 10 66 2
nlm_nm_lock_3 2 10 66 2
nlm_free_all_3 2 10 70 2
main 5 51 346 2
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.lockd/lockd_lock.h
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.lockd/handles.c
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.lockd/procs.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_from_addr 2 14 107 2
get_client 12 52 346 2
transmit_result 3 15 94 3
transmit4_result 3 15 94 3
nlmtonlm4 1 6 42 2
nlm_test_1_svc 3 23 153 2
nlm_test_msg_1_svc 5 36 239 2
nlm_lock_1_svc 2 16 113 2
nlm_lock_msg_1_svc 2 17 129 2
nlm_cancel_1_svc 2 11 69 2
nlm_cancel_msg_1_svc 2 12 83 2
nlm_unlock_1_svc 2 11 69 2
nlm_unlock_msg_1_svc 2 12 83 2
nlm_granted_1_svc 2 9 48 2
nlm_granted_msg_1_svc 2 10 62 2
nlm_test_res_1_svc 2 6 27 2
nlm_lock_res_1_svc 2 6 27 2
nlm_cancel_res_1_svc 2 6 27 2
nlm_unlock_res_1_svc 2 6 27 2
nlm_granted_res_1_svc 2 6 27 2
nlm_share_3_svc 2 10 52 2
nlm_unshare_3_svc 2 10 52 2
nlm_nm_lock_3_svc 2 9 48 2
nlm_free_all_3_svc 2 7 32 2
nlm4_test_4_svc 3 17 104 2
nlm4_test_msg_4_svc 5 30 190 2
nlm4_lock_4_svc 2 9 57 2
nlm4_lock_msg_4_svc 2 10 73 2
nlm4_cancel_4_svc 2 9 56 2
nlm4_cancel_msg_4_svc 2 10 72 2
nlm4_unlock_4_svc 2 9 56 2
nlm4_unlock_msg_4_svc 2 10 70 2
nlm4_granted_4_svc 2 9 48 2
nlm4_granted_msg_4_svc 2 10 62 2
nlm4_test_res_4_svc 2 6 27 2
nlm4_lock_res_4_svc 2 6 27 2
nlm4_cancel_res_4_svc 2 6 27 2
nlm4_unlock_res_4_svc 2 6 27 2
nlm4_granted_res_4_svc 2 6 27 2
nlm4_share_4_svc 2 10 52 2
nlm4_unshare_4_svc 2 10 52 2
nlm4_nm_lock_4_svc 2 9 48 2
nlm4_free_all_4_svc 2 7 32 2
nlm_sm_notify_0_svc 1 6 33 2
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.lockd/lockd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 21 106 729 2
sigalarm_handler 1 4 11 1
usage 1 4 12 0
Source file: /home/sergeyb/sources/src/usr.sbin/config/misc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ask_cmd 3 17 146 1
ask_yn 8 21 116 1
Source file: /home/sergeyb/sources/src/usr.sbin/config/ukc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
check_int 2 6 31 2
ukc 38 100 691 4
init 7 31 160 1
Source file: /home/sergeyb/sources/src/usr.sbin/config/ukcutil.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
get_cfdata 1 5 38 1
get_locnamp 1 5 36 1
get_locnames 1 5 36 1
get_extraloc 2 13 110 1
get_pdevnames 1 7 51 1
get_pdevinit 1 5 38 1
more 6 17 87 1
pnum 6 19 73 1
pdevnam 6 24 113 1
pdev 16 66 355 1
numberl 7 10 88 2
number 4 12 64 2
device 10 30 168 4
attr 9 24 158 2
modifyl 5 24 127 2
modify 4 11 57 2
change 20 81 479 1
change_history 32 97 562 2
disable 13 53 240 1
enable 13 53 240 1
show 3 15 68 1
common_attr_val 11 50 216 3
show_attr 14 37 219 1
common_dev 27 84 399 5
common_attr 10 23 130 3
add_read 10 45 259 5
add 34 126 830 4
add_history 19 84 583 4
config 9 32 204 1
process_history 32 98 486 2
Source file: /home/sergeyb/sources/src/usr.sbin/config/exec.h
Source file: /home/sergeyb/sources/src/usr.sbin/config/sem.h
Source file: /home/sergeyb/sources/src/usr.sbin/config/cmd.h
Source file: /home/sergeyb/sources/src/usr.sbin/config/misc.h
Source file: /home/sergeyb/sources/src/usr.sbin/config/cmd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
Xhelp 2 9 68 1
Xadd 3 12 77 1
Xbase 6 15 87 1
Xchange 4 14 99 1
Xdisable 5 16 125 1
Xenable 5 16 125 1
Xfind 4 14 99 1
Xlines 3 11 57 1
Xlist 6 22 100 1
Xshow 2 8 40 1
Xquit 1 4 13 1
Xexit 1 4 13 1
Xtimezone 8 27 190 1
int_variable_adjust 4 19 132 3
Xbufcachepct 1 5 22 1
Xnkmempg 1 5 22 1
Source file: /home/sergeyb/sources/src/usr.sbin/config/mkswap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mkswap 4 8 50 1
mkdevstr 2 10 60 1
mkoneswap 13 46 299 1
Source file: /home/sergeyb/sources/src/usr.sbin/config/pack.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pack 4 22 138 1
packdevi 8 38 274 1
sameas 5 12 91 2
addparents 15 54 411 2
nparents 7 17 111 3
packlocs 4 15 128 1
packpvec 6 22 183 1
findvec 4 16 127 5
samelocs 3 8 70 3
addlocs 3 11 76 2
loclencmp 1 7 58 2
samepv 3 8 68 3
addpv 6 18 119 2
pvlencmp 1 7 54 2
resettails 3 12 73 1
Source file: /home/sergeyb/sources/src/usr.sbin/config/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
emalloc 2 7 36 1
ereallocarray 2 6 41 3
ecalloc 2 7 39 2
sourcepath 2 7 40 1
newnv 4 19 116 5
nvfree 1 5 19 1
nvfreel 2 9 43 1
error 1 8 45 2
xerror 1 7 45 4
vxerror 1 7 59 4
panic 1 10 63 2
Source file: /home/sergeyb/sources/src/usr.sbin/config/files.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
initfiles 1 8 33 1
addfile 17 65 422 4
addobject 3 22 147 3
checkfiles 4 10 78 1
checkaux 2 11 59 2
fixfiles 11 44 270 1
fixobjects 5 22 111 1
fixcount 2 14 104 2
fixfsel 1 11 73 2
fixsel 1 4 25 2
expr_eval 5 20 162 3
expr_free 6 19 80 1
prexpr 1 7 32 1
pr0 6 24 99 1
Source file: /home/sergeyb/sources/src/usr.sbin/config/ukc.h
Source file: /home/sergeyb/sources/src/usr.sbin/config/mkheaders.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mkheaders 7 16 101 1
emitcnt 13 37 291 1
emitopt 14 48 333 1
emitwarn 2 7 43 3
cntname 3 12 78 1
Source file: /home/sergeyb/sources/src/usr.sbin/config/main.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 9 28 1
main 38 112 625 2
mksymlink 4 13 72 2
mksymlinks 3 22 127 1
stop 1 5 21 1
defoption 3 14 131 1
removeoption 7 31 213 1
addoption 4 15 137 2
addmkoption 1 4 31 2
do_option 4 19 144 5
deva_has_instances 4 10 68 2
devbase_has_instances 3 8 54 2
hasparent 5 12 90 1
cfcrosscheck 12 33 216 3
crosscheck 8 30 197 1
badstar 9 29 170 1
setupdirs 20 41 290 1
optcmp 8 16 119 2
optiondelta 16 49 397 1
Source file: /home/sergeyb/sources/src/usr.sbin/config/hash.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
poolalloc 2 17 79 1
ht_init 2 13 87 2
ht_expand 3 21 156 1
newhashent 1 11 69 2
hash 2 7 42 1
initintern 1 4 14 1
intern 5 21 159 1
ht_new 1 7 32 1
ht_remove 6 20 157 2
ht_insrep 5 19 138 4
ht_lookup 3 11 85 2
Source file: /home/sergeyb/sources/src/usr.sbin/config/exec_elf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
adjust 5 18 137 1
readjust 5 16 135 1
loadkernel 9 30 311 1
savekernel 3 9 71 1
Source file: /home/sergeyb/sources/src/usr.sbin/config/sem.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
initsem 1 20 95 1
enddefs 4 17 80 1
setdefmaxusers 4 10 47 3
setmaxusers 4 13 63 1
defattr 4 29 167 2
has_errobj 3 7 44 2
addtoattr 1 6 39 2
defdev 8 34 202 4
getdevbase 8 36 215 1
defdevattach 19 63 391 4
getdevattach 8 35 211 1
getattr 2 9 48 1
setmajor 3 8 45 2
exclude 2 8 46 3
resolve 18 61 478 5
lresolve 3 9 75 5
addconf 8 41 270 1
setconf 2 8 46 3
newdevi 2 23 145 3
enabledev 9 41 244 2
adddev 17 81 500 5
addpseudo 5 27 156 3
getdevi 7 36 224 1
concat 2 14 92 2
starref 1 4 19 1
wildref 1 4 19 1
split 8 26 178 5
selectbase 4 18 164 2
onlist 3 7 44 2
extend 1 10 53 2
fixloc 19 70 470 3
Source file: /home/sergeyb/sources/src/usr.sbin/config/mkmakefile.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mkmakefile 18 72 419 1
expandname 13 38 265 1
srcpath 9 32 195 1
emitdefs 15 32 255 1
emitreconfig 10 24 137 1
emitobjs 14 46 311 1
emitcfiles 1 4 18 1
emitsfiles 1 4 18 1
emitfiles 13 36 250 2
emit_1rule 5 11 91 4
emitrules 9 31 157 1
emitload 19 63 361 1
Source file: /home/sergeyb/sources/src/usr.sbin/config/config.h
Source file: /home/sergeyb/sources/src/usr.sbin/config/mkioconf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mkioconf 11 21 140 1
cforder 1 7 54 2
emithdr 7 31 180 1
emitexterns 7 23 129 1
emitloc 5 18 104 1
addlocname 5 13 96 1
addlocnami 3 8 47 1
emitlocnames 16 47 362 1
emitpv 5 14 108 1
emitcfdata 21 71 478 1
emitroots 9 21 159 1
emitpseudo 13 36 267 1
Source file: /home/sergeyb/sources/src/usr.sbin/ifstated/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 10 48 2
log_procinit 2 5 19 1
log_setverbose 1 4 11 1
log_getverbose 1 4 11 1
logit 1 7 38 3
vlog 3 17 99 3
log_warn 3 21 120 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 41 2
vfatalc 3 17 106 3
fatal 1 8 40 2
fatalx 1 8 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/ifstated/ifstated.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 25 1
main 19 74 423 2
startup_handler 2 13 94 3
sighup_handler 2 6 32 3
load_config 5 24 161 1
rt_msg_handler 12 45 254 3
sigchld_handler 2 6 37 3
external_handler 1 10 74 3
external_exec 6 30 192 2
adjust_external_expressions 2 17 95 1
check_external_status 11 37 228 1
external_evtimer_setup 5 32 163 2
scan_ifstate_single 11 34 193 3
scan_ifstate 7 14 98 3
adjust_expressions 13 40 222 2
eval_state 5 13 79 1
state_change 4 18 115 1
do_action 7 25 138 1
fetch_ifstate 4 14 85 1
check_ifdeparture 2 12 64 1
clear_config 4 17 138 1
remove_action 8 23 136 2
remove_expression 7 33 210 2
Source file: /home/sergeyb/sources/src/usr.sbin/ifstated/ifstated.h
Source file: /home/sergeyb/sources/src/usr.sbin/ifstated/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/hostctl/hostctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 26 1
kvsetstr 3 9 71 3
kvsetfile 7 22 151 3
main 33 94 675 2
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/i386_softraid.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sr_install_bootblk 15 51 393 3
sr_install_bootldr 10 61 482 2
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/sparc64_installboot.h
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/landisk_installboot.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
md_init 1 7 22 1
md_loadboot 1 3 6 1
md_installboot 4 11 68 2
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/stubs.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
md_init 1 4 13 1
md_loadboot 1 3 6 1
md_installboot 1 3 11 2
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/sparc64_softraid.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sr_install_bootblk 10 31 240 3
sr_install_bootldr 4 17 111 2
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/i386_installboot.h
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/installboot.h
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/installboot.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 2 7 35 1
main 24 60 348 2
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/bootstrap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
bootstrap 22 72 507 4
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/i386_nlist.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
__elf_is_okay__ 7 13 71 1
__elf_fdnlist 44 143 934 2
nlist_elf32 2 10 61 2
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
filecopy 11 54 335 2
fileprefix 5 22 133 2
crc32 3 15 99 2
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/sparc64_installboot.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
md_init 1 7 22 1
md_loadboot 11 36 276 1
md_installboot 8 17 109 2
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/hppa_installboot.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
md_init 1 5 14 1
md_loadboot 1 3 6 1
md_installboot 1 4 22 2
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/softraid.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sr_installboot 3 11 79 2
sr_volume 7 26 193 4
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/i386_installboot.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
md_init 1 7 22 1
md_loadboot 4 9 63 1
md_installboot 11 28 199 2
write_bootblocks 11 36 266 3
write_efisystem 31 133 893 2
findopenbsd 21 59 394 2
gpt_chk_mbr 9 23 137 2
findgptefisys 21 79 643 2
loadproto 9 34 287 2
devread 2 5 54 5
getbootparams 19 90 785 3
sym_set_value 4 12 82 3
pbr_set_symbols 11 48 313 3
Source file: /home/sergeyb/sources/src/usr.sbin/installboot/armv7_installboot.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
md_init 1 3 6 1
md_loadboot 1 3 6 1
md_installboot 5 16 105 2
write_efisystem 28 124 825 2
findmbrfat 12 31 235 2
Source file: /home/sergeyb/sources/src/usr.sbin/rdate/ntp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ntp_client 9 37 256 5
sync_ntp 18 59 391 4
write_packet 2 16 135 2
read_packet 15 61 380 4
unpack_ntp 3 17 183 2
current_time 3 11 70 1
create_timeval 5 21 157 3
print_packet 1 13 100 1
Source file: /home/sergeyb/sources/src/usr.sbin/rdate/rfc868time.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rfc868time_client 9 45 326 5
Source file: /home/sergeyb/sources/src/usr.sbin/rdate/ntpleaps.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ntpleaps_init 4 17 67 1
ntpleaps_sub 5 19 90 1
read_be_dword 1 6 29 1
ntpleaps_read 10 57 396 1
Source file: /home/sergeyb/sources/src/usr.sbin/rdate/ntpleaps.h
Source file: /home/sergeyb/sources/src/usr.sbin/rdate/rdate.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 5 23 1
main 32 118 748 2
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/rde_decide.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
prefix_cmp 32 78 710 2
prefix_evaluate 17 42 315 2
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/bgpd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sighdlr 6 16 46 1
usage 1 7 25 1
main 60 221 1315 2
start_child 9 35 181 5
send_filterset 2 9 65 2
reconfigure 26 101 839 3
dispatch_imsg 54 157 819 3
send_nexthop_update 7 18 130 1
send_imsg_session 1 4 35 4
send_network 5 13 113 3
bgpd_filternexthop 17 20 137 2
control_setup 16 41 291 1
set_pollfd 4 11 68 2
handle_pollfd 9 28 172 2
imsg_send_sockets 7 24 207 2
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 10 48 2
log_procinit 2 5 19 1
log_setverbose 1 4 11 1
log_getverbose 1 4 11 1
logit 1 7 38 3
vlog 3 17 99 3
log_warn 3 21 120 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 41 2
vfatalc 3 17 106 3
fatal 1 8 40 2
fatalx 1 8 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/config.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
new_config 6 26 209 1
free_networks 2 9 53 1
free_rdomains 2 11 65 1
free_config 3 21 137 1
merge_config 14 74 580 3
get_bgpid 6 19 131 1
host 7 30 223 3
host_v4 4 17 129 3
host_v6 2 14 93 2
prepare_listeners 14 72 570 1
get_mpe_label 3 20 143 1
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/timer.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
getmonotime 2 7 34 1
timer_get 2 8 44 2
timer_nextisdue 4 8 54 1
timer_nextduein 3 7 58 1
timer_running 4 10 70 3
timer_set 7 21 166 3
timer_stop 2 9 63 2
timer_remove 2 8 50 2
timer_remove_all 2 8 49 1
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control_init 8 46 308 2
control_listen 3 8 42 1
control_shutdown 1 4 12 1
control_cleanup 2 5 18 1
control_accept 8 28 178 2
control_connbyfd 2 9 40 1
control_connbypid 2 9 40 1
control_close 2 14 82 1
control_dispatch_msg 91 288 1713 2
control_imsg_relay 5 12 121 1
control_result 1 5 41 2
imsg_read_nofd 3 14 98 1
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/logmsg.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_fmt_peer 10 25 181 1
log_peer_info 2 13 87 3
log_peer_warn 4 19 128 3
log_peer_warnx 2 13 87 3
log_statechange 7 16 108 3
log_notification 15 61 331 6
log_conn_attempt 4 16 99 2
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/rde.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rde_sighdlr 3 9 25 1
rde_main 38 149 1029 2
rde_dispatch_imsg_session 69 283 1652 1
rde_dispatch_imsg_parent 59 230 1354 1
rde_update_dispatch 62 351 2049 1
rde_update_update 8 30 226 4
rde_update_withdraw 5 16 118 3
rde_attr_parse 81 270 1550 5
rde_attr_add 7 28 183 3
rde_attr_missing 10 17 130 3
rde_get_mp_nexthop 8 41 231 4
rde_update_extract_prefix 5 23 141 5
rde_update_get_prefix 3 17 112 4
rde_update_get_prefix6 3 17 112 4
rde_update_get_vpn4 10 42 346 4
rde_update_err 5 14 139 5
rde_update_log 8 23 190 6
rde_as4byte_fixup 14 42 250 2
rde_reflector 15 48 382 2
rde_dump_rib_as 19 74 629 4
rde_dump_filterout 5 20 141 3
rde_dump_filter 19 35 290 2
rde_dump_upcall 1 7 46 2
rde_dump_prefix_upcall 4 16 121 2
rde_dump_ctx_new 16 74 437 3
rde_dump_ctx_throttle 2 10 46 2
rde_dump_runner 3 9 58 1
rde_dump_pending 2 8 37 1
rde_dump_done 1 8 49 1
rde_dump_rib_free 3 9 61 1
rde_dump_mrt_new 4 30 231 3
rde_dump_mrt_free 3 9 64 1
rde_rib_free 1 6 33 1
rde_rdomain_import 2 9 58 2
rde_send_kroute 16 54 402 3
rde_generate_updates 6 15 90 3
rde_up_dump_upcall 3 9 59 2
rde_update_queue_runner 11 51 274 1
rde_update6_queue_runner 14 54 313 1
rde_send_pftable 5 17 129 4
rde_send_pftable_commit 3 8 44 1
rde_send_nexthop 3 11 64 2
rde_reload_done 20 101 645 1
rde_softreconfig_in 14 42 335 2
rde_softreconfig_out 15 35 301 2
rde_softreconfig_unload_peer 5 22 153 2
rde_local_as 1 4 13 1
rde_noevaluate 2 6 24 1
rde_decisionflags 1 4 15 1
rde_as4byte 1 4 18 1
peer_init 5 20 152 1
peer_shutdown 3 8 50 1
peer_get 2 11 54 1
peer_add 4 24 178 2
peer_localaddrs 15 42 290 2
peer_up 10 38 265 2
peer_down 3 23 134 1
peer_flush 3 16 101 2
peer_stale 4 16 90 2
peer_dump 4 15 89 2
peer_recv_eor 2 9 72 2
peer_send_eor 5 35 264 2
network_add 10 65 456 2
network_delete 7 41 290 2
network_dump_upcall 6 28 230 2
rde_shutdown 5 20 125 1
sa_cmp 8 29 189 2
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/mrt.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mrt_dump_bgp_msg 6 20 129 4
mrt_dump_state 3 17 105 4
mrt_attr_dump 26 88 634 4
mrt_dump_entry_mp 15 96 632 4
mrt_dump_entry 14 71 488 4
mrt_dump_entry_v2 12 86 578 3
mrt_dump_v2_hdr 7 46 308 3
mrt_dump_peer 8 35 191 2
mrt_dump_upcall 3 17 107 2
mrt_done 1 5 21 1
mrt_dump_hdr_se 24 91 551 6
mrt_dump_hdr_rde 7 39 173 4
mrt_write 3 9 49 1
mrt_clean 2 10 68 1
mrt_init 1 5 28 2
mrt_open 5 24 178 2
mrt_timeout 6 20 129 1
mrt_reconfigure 8 27 182 1
mrt_handler 7 18 103 1
mrt_get 5 14 84 2
mrt_mergeconfig 6 29 223 2
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/name2id.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rtlabel_name2id 1 4 20 1
rtlabel_id2name 1 4 18 1
rtlabel_unref 1 4 15 1
rtlabel_ref 1 4 15 1
pftable_name2id 1 4 20 1
pftable_id2name 1 4 18 1
pftable_unref 1 4 15 1
pftable_ref 1 4 15 1
_name2id 10 35 238 2
_id2name 3 10 56 2
_unref 5 17 100 2
_ref 3 11 50 2
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/session.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
session_sighdlr 3 9 25 1
setup_listeners 10 46 284 1
session_main 85 336 2204 2
init_conf 3 7 35 1
init_peer 5 18 141 1
bgp_fsm 50 216 1008 2
start_timer_holdtime 2 7 36 1
start_timer_keepalive 2 7 38 1
session_close_connection 2 8 44 1
change_state 33 91 612 3
session_accept 26 76 447 1
session_connect 14 57 416 1
session_setup_socket 20 77 474 1
session_tcp_established 3 12 90 1
session_capa_ann_none 1 4 28 1
session_capa_add 1 7 55 3
session_capa_add_mp 2 13 105 2
session_capa_add_gr 3 19 138 3
session_newmsg 4 23 193 2
session_sendmsg 12 22 200 2
session_open 22 103 785 1
session_keepalive 3 11 62 1
session_update 6 27 157 3
session_notification 6 31 211 5
session_neighbor_rrefresh 4 11 71 1
session_rrefresh 5 28 194 2
session_graceful_restart 6 24 203 1
session_graceful_stop 4 15 119 1
session_dispatch_msg 28 80 546 2
session_process_msg 22 71 430 1
parse_header 14 89 556 4
parse_open 23 152 1003 1
parse_update 2 16 102 1
parse_refresh 3 22 149 1
parse_notification 20 120 656 1
parse_capabilities 20 135 801 4
capa_neg_calc 13 41 409 1
session_dispatch_imsg 107 388 2303 3
la_cmp 8 29 204 2
getpeerbyaddr 3 9 57 1
getpeerbydesc 5 17 94 1
getpeerbyip 16 42 320 1
session_template_clone 6 27 199 4
session_match_mask 5 18 140 2
getpeerbyid 3 8 42 1
session_down 2 8 71 1
session_up 3 16 174 1
imsg_ctl_parent 1 5 41 5
imsg_ctl_rde 1 4 38 4
session_demote 2 11 84 2
session_stop 9 28 147 2
session_link_state_is_up 4 9 48 3
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/rde.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
re_rib 1 4 26 1
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/carp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
carp_group_find 2 8 44 1
carp_demote_init 7 25 162 2
carp_demote_shutdown 4 11 73 1
carp_demote_get 4 21 140 1
carp_demote_set 7 18 118 2
carp_demote_ioctl 5 21 156 2
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/rde_rib.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
re_lock 1 4 29 1
re_unlock 1 4 29 1
re_is_locked 1 4 21 1
rib_tree 1 4 17 1
rib_new 6 29 247 3
rib_find 5 11 79 1
rib_desc 1 4 20 1
rib_free 5 25 185 1
rib_compare 1 4 30 2
rib_get 1 9 68 3
rib_lookup 8 25 129 2
rib_add 4 21 143 3
rib_remove 5 14 88 1
rib_empty 1 4 18 1
rib_dump 2 12 88 4
rib_dump_r 9 25 157 1
rib_restart 4 12 72 1
path_init 4 13 99 1
path_shutdown 3 8 50 1
path_update 6 25 178 5
path_compare 18 40 315 2
path_lookup 3 11 70 2
path_remove 3 14 95 1
path_remove_stale 7 25 168 2
path_destroy 3 12 70 1
path_empty 1 4 18 1
path_link 1 10 66 2
path_copy 2 22 142 1
path_get 2 12 65 1
path_put 3 13 66 1
prefix_get 2 9 64 5
prefix_add 4 21 138 4
prefix_move 3 25 169 2
prefix_remove 4 20 125 5
prefix_write 6 29 234 4
prefix_writebuf 6 22 130 3
prefix_bypeer 4 14 85 3
prefix_updateall 7 19 138 3
prefix_destroy 2 9 42 1
prefix_network_clean 6 19 139 3
prefix_link 1 11 81 3
prefix_unlink 3 16 102 1
prefix_alloc 2 9 43 1
prefix_free 1 5 19 1
nexthop_init 4 13 99 1
nexthop_shutdown 4 16 108 1
nexthop_update 6 34 205 1
nexthop_modify 10 32 144 4
nexthop_link 2 6 33 1
nexthop_unlink 2 10 51 1
nexthop_delete 4 12 76 1
nexthop_get 3 18 106 1
nexthop_compare 9 27 196 2
nexthop_lookup 2 10 57 1
nexthop_hash 3 17 97 1
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/pftable.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pftable_change 6 22 168 1
pftable_clear 3 14 104 1
pftable_exists 3 16 123 1
pftable_add 4 19 140 1
pftable_clear_all 2 13 73 1
pftable_add_work 13 43 325 4
pftable_addr_add 1 4 30 1
pftable_addr_remove 1 4 30 1
pftable_commit 3 14 81 1
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/pfkey.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pfkey_send 43 298 2124 15
pfkey_read 10 23 155 2
pfkey_reply 11 53 326 2
pfkey_sa_add 5 15 151 5
pfkey_sa_remove 3 10 89 3
pfkey_md5sig_establish 5 16 147 1
pfkey_md5sig_remove 5 13 108 1
pfkey_ipsec_establish 18 68 531 1
pfkey_ipsec_remove 18 56 457 1
pfkey_establish 3 14 119 1
pfkey_remove 3 9 51 1
pfkey_init 3 13 69 1
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_addr 6 21 137 1
log_in6addr 3 17 146 1
log_sockaddr 2 9 51 1
log_as 2 7 43 1
log_rd 4 29 181 1
log_ext_subtype 4 11 80 2
log_shutcomm 1 5 43 1
aspath_delim 9 29 129 2
aspath_snprint 6 32 220 4
aspath_asprint 3 16 98 3
aspath_strlen 9 33 183 2
aspath_match 14 44 298 4
as_compare 12 13 101 5
aspath_extract 1 8 54 2
prefix_compare 20 58 500 3
prefixlen2mask 2 6 30 1
inet6applymask 4 13 118 3
aid2str 2 6 28 1
aid2afi 2 9 54 3
afi2aid 4 10 68 3
aid2af 2 6 28 1
af2aid 5 12 78 3
addr2sa 4 26 186 2
sa2addr 3 17 127 2
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/rde_filter.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rde_apply_set 76 278 1422 5
rde_filter_match 61 159 1062 6
rde_filter_equal 42 57 511 3
filterlist_free 3 12 64 1
filterset_free 7 21 131 1
filterset_cmp 13 34 316 2
filterset_move 3 11 65 2
filterset_equal 54 106 629 2
filterset_name 25 45 166 1
rde_filter_calc_skip_steps 8 23 161 1
rde_filter 14 45 307 7
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/rde_attr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
attr_write 5 26 154 6
attr_writebuf 5 20 144 5
attr_init 4 13 99 1
attr_shutdown 3 8 50 1
attr_optadd 11 40 295 5
attr_optget 5 13 89 2
attr_copy 6 20 144 2
attr_diff 11 27 183 2
attr_compare 10 18 173 2
attr_free 4 12 100 2
attr_freeall 2 9 56 1
attr_alloc 4 29 228 4
attr_lookup 6 22 173 4
attr_put 4 15 78 1
aspath_verify 15 32 203 3
aspath_init 4 13 99 1
aspath_shutdown 3 8 50 1
aspath_get 3 23 148 2
aspath_put 3 13 62 1
aspath_inflate 6 30 208 3
aspath_deflate 7 39 265 3
aspath_merge 7 28 239 2
aspath_dump 1 4 16 1
aspath_length 1 4 16 1
aspath_count 4 20 108 2
aspath_countlength 9 28 178 3
aspath_countcopy 8 34 203 5
aspath_neighbor 2 6 36 1
aspath_loopfree 5 18 119 2
aspath_compare 5 14 93 2
aspath_lookup 3 13 85 2
aspath_prepend 14 57 402 4
aspath_lenmatch 7 29 180 3
community_match 7 22 148 3
community_set 10 34 275 3
community_delete 15 50 352 3
community_ext_match 4 19 121 3
community_ext_set 8 35 263 3
community_ext_delete 10 38 269 3
community_ext_conv 5 34 236 3
community_ext_matchone 19 68 469 3
community_large_match 9 25 169 4
community_large_set 9 36 266 4
community_large_delete 19 50 361 4
community_ext_delete_non_trans 7 24 174 3
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/session.h
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/mrt.h
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/printconf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_op 9 32 103 1
print_community 7 19 100 2
print_largecommunity 10 27 142 3
print_extcommunity 10 37 196 1
print_origin 4 11 50 1
print_set 26 99 495 1
print_mainconf 13 35 255 1
print_rdomain_targets 1 9 51 2
print_rdomain 3 18 125 1
print_af 3 8 37 1
print_network 5 23 144 2
print_peer 44 112 891 3
print_auth_alg 3 11 36 1
print_enc_alg 3 11 36 1
print_announce 3 7 53 2
print_as 4 19 136 1
print_rule 34 99 754 2
mrt_type 9 22 64 1
print_mrt 8 20 155 5
print_groups 9 36 254 2
peer_compare 1 8 55 2
print_config 4 35 229 7
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/rde_prefix.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pt_init 1 4 12 1
pt_shutdown 2 5 20 1
pt_getaddr 4 24 182 2
pt_fill 7 43 305 2
pt_get 1 6 37 2
pt_add 2 9 59 2
pt_remove 3 8 46 1
pt_lookup 6 22 90 1
pt_prefix_cmp 20 57 464 2
pt_alloc 2 10 66 1
pt_free 1 5 24 1
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/rde_update.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
up_init 2 15 99 1
up_clear 4 19 131 2
up_down 2 12 84 1
up_prefix_cmp 20 50 455 2
up_attr_cmp 5 13 126 2
up_add 8 58 391 3
up_test_update 25 52 358 2
up_generate 7 30 218 4
up_generate_updates 11 38 251 4
up_generate_default 4 25 162 3
up_generate_marker 4 26 178 2
up_get_nexthop 11 33 279 2
up_generate_mp_reach 29 111 943 4
up_generate_attr 51 175 1287 4
up_dump_prefix 6 28 187 4
up_dump_attrnlri 9 42 314 3
up_dump_mp_unreach 6 43 320 4
up_dump_mp_reach 14 70 512 4
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/bgpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/bgpd/kroute.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
kr_init 9 36 245 1
ktable_new 8 46 334 6
ktable_free 5 13 90 2
ktable_destroy 1 10 63 2
ktable_get 2 6 26 1
ktable_update 12 38 271 5
ktable_preload 3 10 50 1
ktable_postload 5 13 81 1
ktable_exists 4 22 134 2
kr_change 5 16 104 3
kr4_change 10 46 380 3
kr6_change 10 48 403 3
krVPN4_change 11 58 499 3
kr_delete 5 16 106 3
kr4_delete 5 15 133 3
kr6_delete 5 15 132 3
krVPN4_delete 5 15 135 3
kr_shutdown 2 7 36 1
kr_fib_couple 5 20 149 2
kr_fib_couple_all 2 6 32 1
kr_fib_decouple 5 21 150 2
kr_fib_decouple_all 2 6 32 1
kr_fib_update_prio 4 14 102 2
kr_fib_update_prio_all 2 6 32 1
kr_dispatch_msg 1 4 13 1
kr_nexthop_add 6 23 163 3
kr_nexthop_delete 4 16 87 3
kr_show_route 31 143 955 1
kr_ifinfo 2 10 59 1
kr_net_delete 1 5 24 1
kr_net_match 12 30 162 2
kr_net_match6 12 31 171 2
kr_net_find 5 14 112 2
kr_net_reload 8 36 273 2
kr_redistribute 14 41 302 3
kr_redistribute6 18 45 340 3
kr_reload 6 30 197 1
kr_tofull 1 16 136 1
kr6_tofull 1 16 150 1
kroute_compare 9 18 179 2
kroute6_compare 10 21 197 2
knexthop_compare 9 25 211 2
kif_compare 1 4 29 2
kroute_find 5 21 139 4
kroute_matchgw 4 15 77 2
kroute_insert 9 26 207 2
kroute_remove 16 48 359 2
kroute_clear 2 6 39 1
kroute6_find 5 21 150 4
kroute6_matchgw 4 15 96 2
kroute6_insert 9 28 225 2
kroute6_remove 16 49 363 2
kroute6_clear 2 6 39 1
knexthop_find 1 7 62 2
knexthop_insert 2 11 68 2
knexthop_remove 2 11 68 2
knexthop_clear 2 6 39 1
kif_find 1 7 44 1
kif_insert 2 11 62 1
kif_remove 5 27 177 1
kif_clear 2 6 32 1
kif_kr_insert 5 22 144 1
kif_kr_remove 6 22 139 1
kif_kr6_insert 5 22 144 1
kif_kr6_remove 6 22 139 1
kif_validate 3 8 43 1
kroute_validate 4 15 91 1
kroute6_validate 4 15 92 1
knexthop_validate 7 28 156 2
knexthop_track 2 7 42 2
knexthop_send_update 8 47 349 1
kroute_match 8 16 139 3
kroute6_match 8 16 141 3
kroute_detach_nexthop 7 24 128 2
protect_lo 5 24 203 1
prefixlen_classful 5 13 60 1
mask2prefixlen 2 7 32 1
mask2prefixlen6 11 39 175 1
prefixlen2mask6 3 12 80 1
get_rtaddrs 3 12 87 3
if_change 7 40 268 3
if_announce 4 21 119 1
send_rtmsg 13 111 848 5
send_rt6msg 11 87 717 5
fetchtable 45 179 1242 2
fetchifs 12 63 495 1
dispatch_rtmsg 19 58 350 1
dispatch_rtmsg_addr 78 272 1705 3
Source file: /home/sergeyb/sources/src/usr.sbin/hotplugd/hotplugd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 13 67 419 2
exec_script 5 20 138 3
sigchild 7 30 150 1
sigquit 1 4 11 1
usage 1 6 25 1
Source file: /home/sergeyb/sources/src/usr.sbin/rmt/rmt.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 42 179 1124 2
getstring 4 10 66 2
checkbuf 6 17 97 2
error 1 6 56 1
usage 1 7 28 1
Source file: /home/sergeyb/sources/src/usr.sbin/map-mbone/mapper.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
find_node 4 18 125 2
find_interface 3 13 87 2
find_neighbor 4 11 69 2
logit 11 26 174 4
ask 1 5 25 1
ask2 1 5 25 1
accept_group_report 1 6 39 4
accept_probe 1 6 43 5
accept_report 1 6 43 5
accept_neighbor_request 2 7 39 2
accept_neighbor_request2 2 7 39 2
accept_neighbors 32 126 827 5
accept_neighbors2 32 115 767 5
check_vif_state 1 4 15 1
retry_requests 6 17 86 1
inet_name 2 6 40 1
print_map 22 61 433 1
graph_name 2 9 51 3
graph_edges 16 40 312 1
elide_aliases 6 18 118 1
graph_map 1 11 53 1
host_addr 3 13 66 1
usage 1 12 54 1
main 31 121 684 2
accept_prune 1 3 17 4
accept_graft 1 3 17 4
accept_g_ack 1 3 17 4
add_table_entry 1 3 10 2
accept_leave_message 1 3 13 3
accept_mtrace 1 4 23 6
accept_membership_query 1 4 16 4
accept_info_request 1 3 17 4
accept_info_reply 1 3 17 4
Source file: /home/sergeyb/sources/src/usr.sbin/pstat/pstat.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 81 182 1218 2
vnodemode 15 54 371 1
vnodemodeprep 3 12 72 1
vnode_header 1 4 26 1
vnode_print 23 58 331 2
ufs_header 1 4 14 1
ufs_print 18 51 357 1
ext2fs_header 1 4 14 1
ext2fs_print 13 37 247 1
nfs_header 1 4 14 1
nfs_print 13 39 297 1
getmnt 4 19 136 1
mount_print 24 121 649 1
kinfo_vnodes 7 38 307 1
tty2itty 2 15 130 2
ttymode 6 24 159 1
ttymodeprep 5 20 157 1
ttyprt 10 35 278 1
filemode 19 52 441 1
filemodeprep 8 26 176 1
swapmode 14 74 513 1
usage 1 6 22 1
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpctl/dvmrpctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 6 25 1
main 50 144 895 2
show_summary_msg 3 17 78 1
show_interface_msg 6 27 165 1
show_interface_detail_msg 7 45 267 1
show_igmp_msg 7 35 202 1
print_if_type 3 11 37 1
print_nbr_state 4 13 44 1
print_link 2 7 24 1
fmt_timeframe 2 7 32 1
fmt_timeframe_core 5 29 179 1
mask2prefixlen 2 7 32 1
show_nbr_msg 3 20 106 1
print_dvmrp_options 7 12 79 1
show_nbr_detail_msg 3 15 57 1
show_rib_msg 6 26 145 1
show_rib_detail_msg 3 13 46 1
show_mfc_msg 9 38 238 1
show_mfc_detail_msg 3 13 46 1
get_linkstate 3 11 77 2
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpctl/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse 6 24 150 2
match_token 29 74 448 3
show_valid_args 9 25 117 1
parse_addr 3 13 83 2
parse_prefix 4 21 155 3
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/ask_nbrs2.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_ask_nbrs2 4 27 206 4
recv_ask_nbrs2 1 5 30 3
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/group.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
group_fsm 19 76 471 2
dead_timer 1 6 40 3
start_dead_timer 1 9 71 1
start_dead_timer_all 2 14 92 1
stop_dead_timer 1 5 32 1
v1_host_timer 1 6 40 3
start_v1_host_timer 1 9 71 1
stop_v1_host_timer 1 5 32 1
retrans_timer 2 12 83 3
start_retrans_timer 1 8 55 1
stop_retrans_timer 1 5 32 1
group_list_add 4 25 193 2
group_list_remove 1 11 67 2
group_list_find 3 11 68 2
group_list_clr 2 9 55 1
group_list_empty 1 4 20 1
group_list_dump 1 10 69 2
group_event_name 1 4 15 1
group_action_name 1 4 15 1
group_to_ctl 3 18 135 1
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/nbrs2.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_nbrs2 4 27 206 4
recv_nbrs2 1 5 30 3
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/dvmrp.h
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 8 36 1
log_verbose 1 4 11 1
logit 1 7 38 3
vlog 3 15 90 3
log_warn 3 18 111 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 41 2
fatal 4 17 79 1
fatalx 1 5 18 1
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/graft.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_graft 4 27 206 4
recv_graft 1 5 30 3
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/dvmrpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/dvmrpe.h
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/probe.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_probe 5 31 241 1
recv_probe 10 42 266 6
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control_init 6 36 245 1
control_listen 2 12 78 1
control_cleanup 1 6 27 1
control_accept 9 34 268 3
control_connbyfd 2 9 42 1
control_connbypid 2 9 42 1
control_close 3 17 116 1
control_dispatch_imsg 25 85 544 3
control_imsg_relay 2 8 76 1
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/logmsg.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
nbr_state_name 4 13 44 1
if_state_name 4 13 44 1
group_state_name 5 15 52 1
if_type_name 3 10 35 1
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/rde.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rde_sig_handler 3 10 37 3
rde 11 59 448 4
rde_shutdown 1 18 100 1
rde_imsg_compose_parent 1 4 38 4
rde_imsg_compose_dvmrpe 1 6 41 5
rde_dispatch_imsg 39 125 841 3
rde_select_ds_ifs 5 17 110 2
rde_group_list_add 4 20 125 2
rde_group_list_find 3 15 90 2
rde_group_list_remove 5 20 134 2
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/dvmrpd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main_sig_handler 4 12 42 3
usage 1 6 25 1
main 25 126 862 2
dvmrpd_shutdown 9 32 199 1
main_dispatch_dvmrpe 17 52 278 3
main_dispatch_rde 17 52 326 3
main_imsg_compose_dvmrpe 1 4 35 4
main_imsg_compose_rde 1 4 35 4
imsg_event_add 2 9 73 1
imsg_compose_event 2 9 70 7
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/report.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_report 4 28 215 4
recv_report 6 39 284 3
report_timer 1 8 54 3
start_report_timer 1 7 36 1
stop_report_timer 1 4 17 1
rr_list_add 3 11 74 2
rr_list_remove 2 5 23 1
rr_list_clr 2 9 50 1
rr_list_send 10 52 367 3
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/interface.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
if_fsm 11 45 267 2
if_find_index 2 9 43 1
if_new 11 48 417 1
if_init 1 10 74 2
if_del 2 10 57 1
if_nbr_list_empty 1 4 20 1
if_probe_timer 2 11 64 3
if_start_probe_timer 1 6 33 1
if_stop_probe_timer 1 4 20 1
if_query_timer 3 15 90 3
if_start_query_timer 1 6 33 1
if_stop_query_timer 1 4 20 1
if_querier_present_timer 1 5 28 3
if_start_querier_present_timer 1 8 53 1
if_stop_querier_present_timer 1 4 20 1
if_reset_querier_present_timer 1 8 53 1
if_act_start 9 47 267 1
if_act_query_seen 3 15 62 1
if_act_reset 7 42 231 1
if_event_name 1 4 15 1
if_action_name 1 4 15 1
if_set_mcast_ttl 2 10 56 2
if_set_tos 2 9 55 2
if_set_recvbuf 2 8 40 1
if_join_group 4 20 113 2
if_leave_group 4 20 113 2
if_set_mcast 4 18 90 1
if_set_mcast_loop 2 10 55 1
if_to_ctl 5 60 512 1
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/rde.h
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/kmroute.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
kmr_init 2 18 138 1
kmr_shutdown 1 11 55 1
kmr_recv_msg 11 36 203 3
kmr_mfc_couple 1 4 11 1
kmr_mfc_decouple 1 4 11 1
kmroute_clear 1 3 6 1
mrt_init 2 10 51 1
mrt_done 2 10 51 1
mrt_add_vif 2 16 101 2
mrt_del_vif 2 8 47 2
mrt_add_mfc 3 20 138 2
mrt_del_mfc 2 14 90 2
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/rde_srt.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rt_expire_timer 2 13 87 3
rt_start_expire_timer 3 11 75 1
rt_holddown_timer 1 7 42 3
rt_start_holddown_timer 3 11 68 1
rt_init 1 4 12 1
rt_compare 5 12 101 2
rt_find 1 7 42 2
rr_new_rt 3 27 224 3
rt_insert 2 12 73 1
rt_remove 3 15 92 1
rt_invalidate 3 11 66 1
rt_clear 2 6 32 1
rt_snap 2 15 92 1
rt_dump 3 26 184 1
rt_update 2 5 21 1
rt_match_origin 2 10 55 1
srt_check_route 29 81 553 2
srt_current_forwarder 9 18 149 4
srt_update_ds_forwarders 6 15 107 3
srt_set_forwarder_self 1 7 64 2
srt_set_upstream 2 8 44 2
srt_add_ds 2 13 100 3
srt_find_ds 2 8 48 2
srt_delete_ds 1 9 64 3
srt_check_downstream_ifaces 4 11 77 2
srt_expire_nbr 5 23 160 2
flash_update 1 8 70 1
flash_update_ds 1 8 70 1
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/packet.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
gen_dvmrp_hdr 1 12 86 3
send_packet 5 21 140 4
recv_packet 29 115 677 3
ip_hdr_sanity_check 3 11 67 2
dvmrp_hdr_sanity_check 2 9 50 4
find_iface 8 16 120 2
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/control.h
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/prune.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_prune 4 34 279 2
recv_prune 3 21 160 3
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/igmp.h
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/graft_ack.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_graft_ack 4 27 206 4
recv_graft_ack 1 5 30 3
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/neighbor.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
nbr_fsm 17 64 360 2
nbr_init 4 12 88 1
nbr_new 3 21 157 3
nbr_del 1 8 41 1
nbr_find_peerid 2 11 52 1
nbr_find_ip 2 10 54 2
nbr_itimer 1 6 40 3
nbr_start_itimer 1 8 55 1
nbr_stop_itimer 1 4 20 1
nbr_reset_itimer 1 7 43 1
nbr_act_start 1 5 27 1
nbr_act_reset_itimer 2 9 42 1
nbr_act_start_itimer 3 16 79 1
nbr_act_delete 2 14 100 1
nbr_act_clear_lists 1 6 34 1
nbr_event_name 1 4 15 1
nbr_action_name 1 4 15 1
nbr_to_ctl 3 20 175 1
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/in_cksum.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
in_cksum 6 28 172 2
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/igmp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_igmp_query 6 37 247 2
recv_igmp_query 9 34 207 4
recv_igmp_report 8 39 202 5
recv_igmp_leave 6 28 159 4
igmp_chksum 2 9 50 1
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/dvmrpe.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dvmrpe_sig_handler 3 10 37 3
dvmrpe 18 88 673 4
dvmrpe_shutdown 2 22 132 1
dvmrpe_imsg_compose_parent 1 4 38 4
dvmrpe_imsg_compose_rde 1 6 41 5
dvmrpe_dispatch_main 18 64 366 3
dvmrpe_dispatch_rde 38 123 797 3
dvmrpe_iface_ctl 3 11 80 2
dvmrpe_iface_igmp_ctl 3 12 87 2
dvmrpe_nbr_ctl 1 13 101 1
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/rde_mfc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mfc_expire_timer 1 11 80 3
mfc_reset_expire_timer 1 7 39 1
mfc_start_expire_timer 1 8 51 1
mfc_prune_timer 1 6 41 3
mfc_start_prune_timer 1 8 51 1
mfc_reset_prune_timer 1 7 39 1
mfc_init 1 4 12 1
mfc_compare 5 12 121 2
mfc_find 1 7 44 2
mfc_insert 2 10 53 1
mfc_remove 2 10 53 1
mfc_clear 2 6 32 1
mfc_dump 3 26 192 1
mfc_find_origin 2 8 51 1
mfc_send_prune 1 13 125 2
mfc_update_source 7 28 215 1
mfc_update 8 37 266 1
mfc_delete 2 7 44 1
mfc_check_members 3 11 69 2
mfc_recv_prune 8 43 256 1
mfc_add_prune 2 17 130 2
mfc_find_prune 2 9 56 2
mfc_delete_prune 3 10 72 2
prune_compare 2 6 43 3
mfc_reset_prune_expire_timer 1 7 39 1
prune_expire_timer 1 8 58 3
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/printconf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_mainconf 2 7 28 1
print_iface 2 16 106 1
print_config 1 11 52 1
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/dvmrpd/kroute.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
kif_init 2 7 32 1
kr_init 3 17 120 1
kr_shutdown 1 5 23 1
kr_ifinfo 2 10 59 1
kif_compare 1 4 29 2
kif_find 1 7 46 1
kif_findname 2 8 49 1
kif_insert 2 9 46 1
kif_remove 2 9 46 1
kif_clear 2 6 32 1
prefixlen_classful 5 13 60 1
mask2prefixlen 2 7 32 1
prefixlen2mask 2 6 30 1
if_change 4 19 139 3
if_announce 4 21 119 1
get_rtaddrs 3 12 87 3
fetchifs 13 65 518 1
kr_dispatch_msg 11 36 214 3
Source file: /home/sergeyb/sources/src/usr.sbin/trpt/trpt.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 39 101 687 2
dotrace 14 46 323 1
tcp_trace 21 96 607 6
numeric 3 13 67 2
usage 1 6 24 1
Source file: /home/sergeyb/sources/src/usr.sbin/arp/arp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 40 96 462 2
file 6 29 243 1
getsocket 5 13 90 1
set 23 83 495 2
get 3 18 115 1
delete 17 49 265 1
search 11 46 328 2
dump 1 7 40 1
print_entry 12 42 336 3
nuke_entry 1 7 47 3
ether_str 2 12 99 1
usage 1 9 34 1
rtmsg 14 58 356 1
rtget 9 35 200 2
getinetaddr 3 12 88 2
sec2str 12 36 240 1
wake 11 28 201 2
do_wakeup 4 11 86 3
bind_if_to_bpf 5 15 99 2
get_ether 3 13 62 2
send_frame 3 19 173 2
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/atomicio.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/i8253.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
i8253_init 1 20 199 1
i8253_do_readback 18 78 547 1
vcpu_exit_i8253 14 94 623 1
i8253_reset 1 9 68 1
i8253_fire 2 10 80 3
i8253_dump 2 10 56 1
i8253_restore 3 18 129 2
i8253_stop 2 6 32 0
i8253_start 3 7 35 0
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/ufs.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
read_inode 4 34 213 2
block_map 12 50 366 3
buf_read_file 7 36 274 3
search_directory 9 34 231 3
ufs_open 29 111 684 2
ufs_close 2 8 48 1
ufs_close_internal 4 13 96 1
ufs_read 6 24 148 4
ufs_write 1 4 25 4
ufs_seek 4 18 89 3
ufs_stat 1 9 73 2
ufs_readdir 9 33 240 2
ffs_oldfscompat 4 18 127 1
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/atomicio.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
atomicio6 9 33 200 6
atomicio 1 4 44 4
atomiciov6 18 53 361 6
atomiciov 1 5 48 4
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 10 48 2
log_procinit 2 5 19 1
log_setverbose 1 4 11 1
log_getverbose 1 4 11 1
logit 1 7 38 3
vlog 3 17 99 3
log_warn 3 21 120 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 43 2
vfatalc 3 17 106 3
fatal 1 8 40 2
fatalx 1 8 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/priv.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
priv 1 4 32 2
priv_run 2 6 52 3
priv_dispatch_parent 38 115 831 3
priv_getiftype 6 17 125 3
priv_findname 3 9 61 2
priv_validgroup 4 8 55 1
vm_priv_ifconfig 21 95 787 2
vm_priv_brconfig 5 30 243 2
vm_priv_addr 7 20 146 4
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/config.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
config_init 6 22 166 1
config_purge 7 23 159 2
config_setconfig 3 13 79 1
config_getconfig 1 7 55 2
config_setreset 4 13 92 2
config_getreset 1 9 60 2
config_setvm 43 182 1256 4
config_getvm 4 23 151 2
config_getdisk 5 20 141 2
config_getif 6 24 166 2
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/disklabel.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dkcksum 2 10 63 1
getdisklabel 7 21 149 2
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/vmd.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ss2sin 1 4 19 1
ss2sin6 1 4 19 1
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/i8259.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/task.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
taskq_create 5 28 164 1
taskq_run 3 19 132 1
task_set 1 6 41 3
task_add 3 16 103 2
task_del 3 15 97 2
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control 1 4 32 2
control_run 2 5 35 3
control_dispatch_vmd 14 34 182 3
control_init 9 48 358 2
control_listen 3 14 96 1
control_cleanup 2 7 35 1
control_accept 10 43 328 3
control_connbyfd 2 9 42 1
control_close 3 17 123 2
control_dispatch_imsg 38 131 800 3
control_imsg_forward 2 9 72 1
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/loadfile_elf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
setsegment 2 16 116 7
push_gdt 3 12 106 1
push_pt 2 15 137 1
loadfile_elf 8 34 326 5
create_bios_memmap 6 28 179 2
push_bootargs 1 25 216 2
push_stack 2 19 153 4
mread 10 42 266 3
marc4random_buf 6 24 152 2
mbzero 6 21 126 2
mbcopy 1 4 23 3
elf64_exec 46 157 1225 4
elf32_exec 45 156 1210 4
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/vmboot.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
vmboot_bootcmd 11 36 308 2
vmboot_bootargs 12 52 296 3
vmboot_bootdevice 8 28 172 1
vmboot_bootconf 10 27 222 3
vmboot_strategy 6 27 163 6
vmboot_findopenbsd 19 60 422 3
vmboot_loadfile 5 28 191 3
vmboot_open 10 59 419 3
vmboot_close 1 5 25 2
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/mc146818.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/vm.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
loadfile_bios 6 16 134 2
start_vm 18 68 483 2
vm_dispatch_vmm 21 79 516 3
vm_shutdown 4 18 99 1
send_vm 16 70 437 2
dump_send_header 3 26 235 1
dump_mem 3 13 72 2
restore_mem 2 9 55 2
dump_vmr 4 18 116 2
restore_vmr 4 13 95 2
pause_vm 2 9 36 1
unpause_vm 3 11 60 1
vcpu_reset 2 12 97 3
create_memory_map 5 30 211 1
alloc_guest_mem 4 22 148 1
vmm_create_vm 7 15 92 1
init_emulated_hw 5 38 305 3
restore_emulated_hw 3 31 251 4
run_vm 36 147 896 4
event_thread 1 11 53 1
vcpu_run_loop 18 83 443 1
vcpu_pic_intr 2 11 74 3
vcpu_exit_pci 7 25 109 1
vcpu_exit_inout 4 11 87 1
vcpu_exit 18 45 187 1
find_gpa_range 10 31 209 3
vaddr_mem 4 16 112 2
write_mem 4 27 156 3
read_mem 4 26 153 3
iovec_mem 5 28 164 4
vcpu_assert_pic_irq 6 19 126 3
vcpu_deassert_pic_irq 3 8 45 3
fd_hasdata 4 13 87 1
mutex_lock 2 9 33 1
mutex_unlock 2 9 33 1
set_return_data 4 16 83 2
get_input_data 4 19 96 2
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/virtio.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/vmboot.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/ns8250.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/packet.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
checksum 5 15 102 3
wrapsum 1 5 21 1
assemble_hw_header 3 19 119 5
assemble_udp_ip_header 2 33 362 6
decode_hw_header 7 36 225 5
decode_udp_ip_header 23 91 696 4
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/task.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/virtio.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
vioblk_cmd_name 8 13 60 1
dump_descriptor_chain 2 21 115 2
virtio_reg_name 14 19 104 1
vring_size 1 9 61 1
viornd_update_qs 2 9 66 1
viornd_update_qa 2 6 37 1
viornd_notifyq 8 61 425 1
virtio_rnd_io 19 63 293 6
vioblk_update_qa 2 6 40 1
vioblk_update_qs 2 9 69 1
vioblk_free_info 2 7 28 1
vioblk_start_read 3 18 103 3
vioblk_finish_read 2 9 55 1
vioblk_start_write 4 22 129 4
vioblk_finish_write 2 8 47 1
vioblk_notifyq 29 227 1355 1
virtio_blk_io 59 202 1183 6
virtio_net_io 26 92 491 6
vionet_update_qa 2 6 40 1
vionet_update_qs 2 9 69 1
vionet_enq_rx 9 69 513 4
vionet_rx 11 29 189 1
vionet_rx_event 3 13 79 3
vionet_process_rx 5 17 110 1
vionet_notify_rx 3 25 149 1
vionet_notifyq 22 129 859 1
vmmci_ctl 9 36 193 1
vmmci_ack 8 33 160 1
vmmci_timeout 2 5 38 3
vmmci_io 24 78 389 6
virtio_init 22 167 1183 3
vmmci_restore 3 17 123 2
viornd_restore 3 14 86 1
vionet_restore 8 53 385 3
vioblk_restore 6 30 208 3
virtio_restore 5 15 128 4
viornd_dump 2 9 56 1
vmmci_dump 2 9 56 1
vionet_dump 2 11 61 1
vioblk_dump 2 11 61 1
virtio_dump 5 13 83 1
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/pci.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pci_add_bar 7 37 317 4
pci_set_bar_fn 3 10 75 4
pci_get_dev_irq 2 7 32 1
pci_add_device 5 27 219 9
pci_init 2 13 69 1
pci_handle_address_reg 2 9 52 1
pci_handle_io 11 45 316 1
pci_handle_data_reg 22 71 512 1
pci_dump 2 9 56 1
pci_restore 2 9 56 1
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/mc146818.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rtc_updateregs 1 15 167 1
rtc_fire1 2 12 79 3
rtc_fireper 1 6 48 3
mc146818_init 1 22 210 3
rtc_reschedule_per 3 13 98 1
rtc_update_rega 3 9 48 1
rtc_update_regb 4 10 55 1
vcpu_exit_mc146818 14 52 270 1
mc146818_dump 2 9 56 1
mc146818_restore 2 14 130 2
mc146818_stop 1 5 21 0
mc146818_start 1 5 31 0
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/i8259.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
i8259_pic_name 3 8 30 1
i8259_init 2 8 54 1
i8259_is_pending 2 10 72 1
i8259_ack 17 57 427 1
i8259_assert_irq 4 19 146 1
i8259_deassert_irq 3 13 88 1
i8259_write_datareg 13 51 276 2
i8259_specific_eoi 2 8 72 2
i8259_nonspecific_eoi 3 11 59 2
i8259_rotate_priority 2 6 35 1
i8259_write_cmdreg 23 94 436 2
i8259_read_datareg 1 5 25 1
i8259_read_cmdreg 3 9 56 1
i8259_io_write 7 25 120 1
i8259_io_read 7 25 117 1
vcpu_exit_i8259 2 10 53 1
i8259_dump 2 9 56 1
i8259_restore 3 11 73 1
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/proc.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/dhcp.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/dhcp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dhcp_request 36 153 1402 4
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/i8253.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/proc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
proc_ispeer 3 9 55 3
proc_getid 3 13 75 3
proc_exec 11 52 398 5
proc_connect 9 24 191 1
proc_init 11 42 301 6
proc_accept 4 24 185 4
proc_setup 13 42 451 3
proc_kill 11 30 180 1
proc_open 10 34 319 3
proc_close 6 21 171 1
proc_shutdown 4 11 76 1
proc_sig_handler 7 17 63 3
proc_run 17 64 574 6
proc_dispatch 16 66 439 3
proc_dispatch_null 1 4 23 3
imsg_event_add 3 13 95 1
imsg_compose_event 2 10 75 7
imsg_composev_event 2 10 77 7
proc_range 2 9 57 4
proc_compose_imsg 3 12 106 8
proc_compose 1 5 48 5
proc_composev_imsg 3 11 106 8
proc_composev 1 5 50 5
proc_forward_imsg 1 6 58 4
proc_ibuf 1 6 48 3
proc_iev 1 6 46 3
proc_flush_imsg 6 17 126 3
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/vmm.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
vmm 1 4 32 2
vmm_run 3 11 93 3
vmm_dispatch_parent 40 193 1215 3
vmm_sighdlr 14 52 313 3
vmm_shutdown 1 11 66 1
vmm_pipe 2 13 95 3
vmm_dispatch_vm 20 66 398 3
terminate_vm 2 7 45 1
opentap 4 16 102 1
vmm_start_vm 12 62 424 2
get_info_vm 9 45 335 3
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/vmd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
vmd_dispatch_control 43 210 1387 3
vmd_dispatch_vmm 29 173 1228 3
check_vmh 22 107 712 1
vmd_sighdlr 7 24 100 3
usage 1 7 25 1
main 29 105 695 2
vmd_configure 10 42 259 1
vmd_reload 13 59 330 2
vmd_shutdown 1 12 63 1
vm_getbyvmid 3 11 53 1
vm_getbyid 3 11 57 1
vm_id2vmid 2 8 54 2
vm_vmid2id 2 8 62 2
vm_getbyname 3 11 64 1
vm_getbypid 2 9 42 1
vm_stop 9 39 299 2
vm_remove 2 11 58 1
vm_register 30 102 788 5
vm_checkperm 10 21 161 2
vm_opentty 17 53 378 1
vm_closetty 4 13 95 1
switch_remove 2 9 47 1
switch_getbyname 3 11 60 1
get_string 3 8 48 2
prefixlen2mask 3 8 43 1
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/pci.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/vmm.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/loadfile.h
Source file: /home/sergeyb/sources/src/usr.sbin/vmd/ns8250.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ratelimit 1 6 43 3
ns8250_init 2 24 178 2
com_rcv_event 4 17 110 3
com_rcv 5 20 128 3
vcpu_process_com_data 10 40 290 3
vcpu_process_com_lcr 6 27 171 1
vcpu_process_com_iir 3 11 73 1
vcpu_process_com_mcr 2 8 47 1
vcpu_process_com_lsr 2 9 52 1
vcpu_process_com_msr 2 10 54 1
vcpu_process_com_scr 2 8 47 1
vcpu_process_com_ier 5 18 116 1
vcpu_exit_com 10 38 171 1
ns8250_dump 2 10 62 1
ns8250_restore 3 29 215 3
Source file: /home/sergeyb/sources/src/usr.sbin/ikectl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/ikectl/ikeca.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ca_delete 1 4 19 1
ca_key_create 2 16 101 2
ca_key_import 2 12 85 3
ca_key_delete 1 7 47 2
ca_delkey 1 13 116 2
ca_request 5 32 236 3
ca_sign 3 29 164 3
ca_certificate 4 29 134 4
ca_key_install 4 26 183 3
ca_cert_install 3 19 140 3
ca_newpass 7 23 158 2
ca_create 1 31 213 1
ca_install 6 28 216 2
ca_show_certs 7 38 256 2
fcopy 4 19 148 3
fcopy_env 10 32 263 3
rm_dir 10 30 165 1
ca_hier 5 13 108 1
ca_export 30 138 1180 4
ca_create_index 10 31 250 1
ca_revoke 5 41 229 2
ca_clrenv 2 8 51 1
ca_setenv 5 17 127 2
ca_setcnf 2 18 125 2
ca_setup 13 30 314 4
Source file: /home/sergeyb/sources/src/usr.sbin/ikectl/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse 6 23 142 2
parse_addr 2 12 74 1
match_token 36 77 463 2
show_valid_args 11 34 153 1
Source file: /home/sergeyb/sources/src/usr.sbin/ikectl/ikectl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 25 1
ca_opt 23 68 396 1
main 66 177 943 2
monitor_lookup 3 8 54 1
monitor 3 16 126 1
Source file: /home/sergeyb/sources/src/usr.sbin/chroot/chroot.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 28 77 541 2
usage 1 7 29 1
Source file: /home/sergeyb/sources/src/usr.sbin/tftp-proxy/filter.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
add_filter 7 14 110 6
add_rdr 11 25 273 7
do_commit 2 6 32 1
do_rollback 2 6 32 1
init_filter 6 22 120 2
prepare_commit 2 14 100 1
prepare_rule 10 48 545 5
Source file: /home/sergeyb/sources/src/usr.sbin/tftp-proxy/tftp-proxy.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 26 1
main 27 105 651 2
source_addresses 4 21 179 2
proxy_privproc 7 22 192 2
privproc_pop 18 60 449 3
privproc_push 6 44 293 3
proxy_listen 13 60 425 3
proxy_listener_events 1 8 52 1
proxy_dst4 5 17 118 2
proxy_dst6 6 20 135 2
proxy_recv 11 73 529 3
unprivproc_push 3 7 54 3
unprivproc_pop 20 95 760 3
unprivproc_timeout 1 8 49 3
opcode 3 16 86 1
sock_ntop 3 17 132 1
syslog_vstrerror 2 10 70 4
syslog_err 1 8 45 3
syslog_errx 1 8 43 3
syslog_warn 1 7 37 2
syslog_warnx 1 7 35 2
syslog_info 1 7 35 2
syslog_debug 2 9 42 2
Source file: /home/sergeyb/sources/src/usr.sbin/tftp-proxy/filter.h
Source file: /home/sergeyb/sources/src/usr.sbin/kgmon/kgmon.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 15 59 277 2
kgmon 7 20 125 4
openfiles 19 39 308 4
kern_readonly 6 14 92 1
getprof 5 21 157 2
setprof 7 24 185 3
dumpstate 23 101 871 2
getprofhz 4 20 134 1
reset 11 40 388 2
getncpu 2 12 69 1
Source file: /home/sergeyb/sources/src/usr.sbin/route6d/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 4 13 66 1
logit 1 7 38 3
log_enqueue 1 9 61 2
vlog 4 18 136 3
log_warn 3 18 111 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 1 7 35 2
fatal 3 16 79 1
fatalx 1 5 18 1
Source file: /home/sergeyb/sources/src/usr.sbin/route6d/route6d.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 43 144 834 2
sighandler 7 17 46 1
rtdexit 3 14 75 1
ripalarm 9 34 207 1
init 14 72 505 1
ripflush 8 42 253 2
ripsend 32 96 662 3
out_filter 17 49 298 2
tobeadv 8 15 84 2
sendpacket 5 48 331 2
riprecv 72 288 1877 1
sendrequest 3 21 132 1
riprequest 7 21 143 4
ifconfig 14 59 407 1
ifconfig1 12 59 482 4
rtrecv 63 197 1109 1
rt_del 19 80 513 3
rt_deladdr 20 99 653 3
ifrt 22 94 594 2
ifrt_p2p 22 114 671 2
getifmtu 7 32 195 1
rttypes 5 20 124 1
rtflags 1 23 150 1
ifflags 3 23 148 1
krtread 10 47 276 1
rt_entry 34 116 801 2
addroute 5 54 479 3
delroute 6 50 428 2
getroute 9 43 308 2
inet6_n2p 1 5 37 1
ifrtdump 1 5 17 1
ifdump 8 23 131 1
ifdump0 11 54 317 1
rtdump 6 30 202 1
filterconfig 24 97 641 1
ifa_match 4 10 65 3
rtsearch 7 17 95 2
sin6mask2len 1 5 31 1
mask2len 4 22 144 2
applyplen 4 16 99 2
plen2mask 3 20 121 1
xstrdup 2 9 36 1
hms 2 13 76 1
ripinterval 1 8 52 1
ripsuptrig 1 9 49 1
if_maxindex 5 12 69 1
ifc_find 3 9 53 1
iff_find 3 9 49 2
setindex2ifc 6 24 139 2
Source file: /home/sergeyb/sources/src/usr.sbin/route6d/route6d.h
Source file: /home/sergeyb/sources/src/usr.sbin/route6d/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.statd/test.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sm_stat_1 2 11 70 2
sm_mon_1 2 11 70 2
sm_unmon_1 2 11 70 2
sm_unmon_all_1 2 11 70 2
sm_simu_crash_1 2 11 72 2
main 6 36 207 2
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.statd/statd.h
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.statd/statd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 10 58 363 2
notify_handler 2 16 72 1
sync_file 4 19 97 0
change_host 5 25 169 2
find_host 7 25 161 2
walk_one 4 13 119 4
walk_db 10 32 185 2
reset_host 2 10 63 3
check_work 2 4 26 3
unmon_host 2 7 45 3
notify_one 7 23 142 3
init_file 6 26 166 1
reset_database 1 9 45 1
unmon_hosts 1 6 26 1
notify_one_host 4 30 182 1
die 1 5 22 1
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.statd/procs.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sm_stat_1_svc 3 17 85 2
sm_mon_1_svc 5 42 306 2
do_unmon 7 27 154 3
sm_unmon_1_svc 4 27 172 2
sm_unmon_all_1_svc 2 15 72 2
sm_simu_crash_1_svc 2 11 47 2
sm_notify_1_svc 9 51 300 2
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/advcap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
tgetent 2 6 38 2
getent 13 47 236 3
tnchktc 11 41 263 1
tnamatch 14 18 128 1
tskip 10 33 126 1
tgetnum 8 26 145 1
tgetflag 7 16 93 1
tgetstr 6 18 102 2
tdecode 13 49 234 2
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/rtadvd.h
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 8 36 1
log_verbose 1 4 11 1
logit 1 7 38 3
vlog 3 15 90 3
log_warn 3 18 111 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 41 2
vfatalc 3 17 106 3
fatal 1 8 40 2
fatalx 1 8 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/if.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
get_rtaddrs 3 12 68 3
if_nametosdl 6 21 132 1
if_getmtu 3 15 105 1
if_getflags 2 10 66 2
lladdropt_length 3 10 40 1
lladdropt_fill 3 15 91 2
validate_msg 20 46 322 1
get_addr 1 8 71 1
get_rtm_ifindex 1 5 25 1
get_ifm_ifindex 1 5 30 1
get_ifam_ifindex 1 5 30 1
get_ifm_flags 1 5 27 1
get_prefixlen 1 12 107 1
prefixlen 11 37 127 2
rtmsg_type 1 5 27 1
rtmsg_len 1 5 27 1
get_iflist 7 24 161 2
parse_iflist 9 44 277 3
init_iflist 2 12 54 1
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/config.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
getconfig 81 304 2269 1
get_prefix 16 56 419 1
makeentry 2 7 47 4
make_prefix 2 28 192 4
delete_prefix 1 11 74 2
make_packet 22 162 1150 1
getinet6sysctl 2 14 95 1
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/dump.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ether_str 2 12 99 1
lifetime 4 12 64 1
rtadvd_dump 25 128 874 1
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/advcap.h
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/if.h
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/rtadvd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 24 89 578 2
usage 1 6 22 1
dump_cb 1 4 18 3
die_cb 2 17 97 3
rtsock_cb 25 117 629 3
sock_cb 21 107 639 3
rs_input 11 69 440 4
ra_input 26 108 656 4
prefix_check 11 90 529 3
find_prefix 5 21 136 3
nd6_options 30 86 459 4
free_ndopts 2 9 52 1
sock_open 9 56 400 1
rtsock_open 4 19 108 1
if_indextorainfo 2 9 41 1
ra_output 5 43 318 2
timer_cb 1 8 65 3
ra_timer_update 3 14 92 1
rdaemon 7 25 138 1
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/config.h
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/rtadvd/dump.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldomd/ldomd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 8 36 1
fatal 2 8 42 1
logit 1 7 38 3
vlog 3 15 90 3
main 13 74 502 2
usage 1 6 25 1
add_guest 5 27 204 1
map_domain_services 5 21 148 1
frag_init 3 13 87 1
add_frag_mblock 2 15 85 1
add_frag 1 7 39 1
delete_frag 2 11 55 1
alloc_frag 2 12 56 1
hv_update_md 4 37 274 1
hv_open 6 32 267 1
hv_close 1 5 16 1
hv_read 2 9 56 3
hv_write 2 9 56 3
Source file: /home/sergeyb/sources/src/usr.sbin/ldomd/ds.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldomd/var-config.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
set_variable 3 18 120 3
delete_variable 3 15 88 2
var_config_start 1 3 12 2
var_config_rx_data 3 29 197 4
Source file: /home/sergeyb/sources/src/usr.sbin/ldomd/ldomd.h
Source file: /home/sergeyb/sources/src/usr.sbin/ldomd/ds.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ldc_rx_ctrl 5 21 94 2
ldc_rx_ctrl_vers 8 37 172 2
ldc_rx_ctrl_rts 6 31 138 2
ldc_rx_ctrl_rtr 7 32 145 2
ldc_rx_ctrl_rdx 6 27 123 2
ldc_rx_data 14 44 320 2
ldc_send_vers 2 15 96 1
ldc_send_ack 2 15 96 1
ldc_send_rts 2 15 99 1
ldc_send_rtr 2 15 99 1
ldc_send_rdx 2 15 99 1
ldc_reset 2 6 28 1
ldc_ack 2 13 90 2
ds_rx_msg 9 60 344 3
ds_init_ack 1 10 67 1
ds_reg_ack 1 11 78 2
ds_reg_nack 1 12 84 2
ds_unreg_ack 1 10 72 2
ds_unreg_nack 1 10 72 2
ds_receive_msg 8 27 188 3
ldc_send_msg 5 23 172 3
ds_send_msg 6 22 151 3
ds_conn_open 2 18 146 2
ds_conn_register_service 1 7 48 2
ds_conn_handle 4 23 125 1
ds_conn_serve 5 20 132 1
Source file: /home/sergeyb/sources/src/usr.sbin/ldomd/hvctl.h
Source file: /home/sergeyb/sources/src/usr.sbin/mksuncd/mksuncd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
expand_file 5 15 101 2
usage 1 4 13 1
adjust_base 5 16 130 2
get_label 7 15 114 2
main 16 43 321 2
adjust_label 8 27 222 5
append_osfile 6 17 102 2
cylindersize 3 13 100 2
Source file: /home/sergeyb/sources/src/usr.sbin/apm/apm.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 6 20 1
zzusage 1 6 20 1
send_command 3 14 101 3
do_zzz 5 25 104 2
open_socket 3 17 113 1
main 90 252 1233 2
Source file: /home/sergeyb/sources/src/usr.sbin/dev_mkdb/dev_mkdb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 13 65 468 2
usage 1 5 21 1
Source file: /home/sergeyb/sources/src/usr.sbin/ocspcheck/http.h
Source file: /home/sergeyb/sources/src/usr.sbin/ocspcheck/http.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dosysread 2 8 53 3
dosyswrite 2 8 54 3
dotlsread 4 11 74 3
dotlswrite 4 11 75 3
http_init 5 23 100 0
http_read 5 15 86 3
http_write 3 12 72 3
http_disconnect 7 19 123 1
http_free 2 10 50 1
http_alloc 16 88 673 5
http_open 7 35 183 3
http_close 2 10 50 1
http_body_read 8 34 219 3
http_head_get 3 10 61 3
http_head_status 4 19 122 3
http_head_parse 13 57 358 3
http_head_read 12 53 367 3
http_get_free 2 8 36 1
http_get 8 52 357 7
main 6 29 223 1
Source file: /home/sergeyb/sources/src/usr.sbin/ocspcheck/ocspcheck.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
host_dns 11 43 278 2
url2host 7 31 202 3
parse_ocsp_time 4 13 75 1
read_cacerts 6 32 162 1
read_fullchain 8 42 247 2
cert_from_chain 1 4 19 1
issuer_from_chain 2 10 57 1
ocsp_request_new_from_cert 16 63 406 2
validate_response 21 98 623 6
usage 1 7 19 1
main 39 134 924 2
Source file: /home/sergeyb/sources/src/usr.sbin/spamdb/spamdb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dbupdate 28 131 881 4
print_entry 9 60 398 2
dblist 3 17 124 1
dbshow 6 33 171 2
usage 1 5 20 1
main 26 77 440 2
Source file: /home/sergeyb/sources/src/usr.sbin/memconfig/memconfig.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 5 17 137 2
mrgetall 4 18 137 2
listfunc 16 42 349 3
setfunc 18 53 373 3
clearfunc 23 56 402 3
helpfunc 1 4 24 3
help 5 16 126 1
Source file: /home/sergeyb/sources/src/usr.sbin/tokeninit/tokeninit.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 23 107 591 2
parse_secret 5 19 203 3
prompt_for_secret 2 13 52 2
Source file: /home/sergeyb/sources/src/usr.sbin/watchdogd/watchdogd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 25 1
sighdlr 1 4 11 1
main 24 95 641 2
Source file: /home/sergeyb/sources/src/usr.sbin/snmpctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/snmpctl/snmpctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 6 25 1
main 44 121 691 2
mib_init 1 4 11 1
show_mib 2 9 63 1
monitor_lookup 3 8 54 1
monitor 3 16 126 1
snmpctl_trap 34 91 723 2
Source file: /home/sergeyb/sources/src/usr.sbin/snmpctl/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse 6 26 165 2
match_token 77 173 1243 2
show_valid_args 17 46 205 1
Source file: /home/sergeyb/sources/src/usr.sbin/snmpctl/snmpclient.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
snmpclient 21 66 537 1
snmpc_run 6 18 158 3
snmpc_request 9 30 209 2
snmpc_response 12 43 304 1
snmpc_display_hint 5 13 83 2
snmpc_physaddress 4 13 107 1
snmpc_dateandtime 6 30 213 1
snmpc_display_hint_lookup 6 18 132 1
snmpc_sendreq 7 37 256 2
snmpc_recvresp 9 32 224 4
Source file: /home/sergeyb/sources/src/usr.sbin/vmctl/vmctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
vm_start 28 71 516 8
vm_start_complete 7 40 180 3
send_vm 8 36 239 2
vm_receive 7 32 218 2
pause_vm 2 10 82 2
pause_vm_complete 3 21 105 2
unpause_vm 2 10 82 2
unpause_vm_complete 3 21 105 2
terminate_vm 2 10 82 2
terminate_vm_complete 5 32 144 2
get_info_vm 2 8 62 3
check_info_id 8 10 72 2
add_info 5 28 166 2
print_vm_info 16 72 535 2
vm_console 4 14 93 2
create_imagefile 3 16 100 2
Source file: /home/sergeyb/sources/src/usr.sbin/vmctl/main.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 2 12 71 1
ctl_usage 1 7 36 1
main 3 16 80 2
parse 9 36 243 2
vmmaction 40 129 821 1
parse_free 2 10 71 1
parse_ifs 3 13 77 3
parse_network 3 18 112 2
parse_size 5 17 114 3
parse_disk 3 18 112 2
parse_vmid 6 28 155 3
ctl_create 8 34 216 3
ctl_status 4 9 77 3
ctl_load 3 8 64 3
ctl_log 4 12 104 3
ctl_reload 2 6 39 3
ctl_reset 7 17 132 3
ctl_start 25 61 418 3
ctl_stop 4 9 77 3
ctl_console 4 9 77 3
ctl_pause 4 9 77 3
ctl_unpause 4 9 77 3
ctl_send 5 11 96 3
ctl_receive 5 11 96 3
ctl_openconsole 1 6 44 1
Source file: /home/sergeyb/sources/src/usr.sbin/vmctl/vmctl.h
Source file: /home/sergeyb/sources/src/usr.sbin/usbdevs/usbdevs.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 5 20 1
usbdev 26 80 441 3
usbdump 3 8 42 1
dumpone 3 11 58 3
main 15 56 296 2
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 8 36 1
log_verbose 1 4 11 1
logit 1 7 38 3
vlog 3 15 90 3
log_warn 3 18 111 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 41 2
fatal 4 17 79 1
fatalx 1 5 18 1
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/rip.h
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control_init 6 36 245 1
control_listen 2 12 78 1
control_cleanup 1 6 29 1
control_accept 9 34 268 3
control_connbyfd 2 9 42 1
control_connbypid 2 9 42 1
control_close 3 17 116 1
control_dispatch_imsg 24 83 541 3
control_imsg_relay 2 8 76 1
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/logmsg.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
nbr_state_name 4 13 44 1
if_type_name 5 14 51 1
if_auth_name 4 12 43 1
if_state_name 3 11 36 1
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/rde.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rde_sig_handler 3 10 37 3
rde 12 64 489 4
rde_shutdown 1 13 73 1
rde_imsg_compose_ripe 1 6 41 5
rde_dispatch_imsg 23 82 518 3
rde_dispatch_parent 18 60 360 3
rde_send_change_kroute 1 13 106 1
rde_send_delete_kroute 1 13 106 1
rde_check_route 16 54 398 1
triggered_update 1 11 83 1
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/ripd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 8 25 1
main_sig_handler 4 12 42 3
main 26 126 818 2
ripd_shutdown 10 32 208 1
main_dispatch_ripe 24 70 399 3
main_dispatch_rde 17 49 262 3
main_imsg_compose_ripe 1 4 35 4
main_imsg_compose_rde 1 4 35 4
rip_redistribute 29 54 337 1
imsg_event_add 3 13 93 1
imsg_compose_event 2 9 70 7
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/interface.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
if_init 4 18 129 2
if_fsm 14 46 292 2
if_find_index 2 9 43 1
if_act_start 7 33 166 1
if_act_reset 6 26 130 1
if_event_name 1 4 15 1
if_action_name 1 4 15 1
if_set_mcast_ttl 2 10 56 2
if_set_opt 2 10 51 1
if_set_tos 2 9 55 2
if_set_mcast 4 17 86 1
if_set_mcast_loop 2 10 55 1
if_set_recvbuf 2 8 40 1
if_join_group 4 17 101 2
if_leave_group 4 17 101 2
if_new 12 51 416 1
if_del 3 10 64 1
if_to_ctl 2 24 199 1
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/ripe.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ripe_sig_handler 3 10 37 3
ripe 21 103 806 4
ripe_imsg_compose_parent 1 4 38 4
ripe_imsg_compose_rde 1 6 41 5
ripe_dispatch_main 22 70 385 3
ripe_dispatch_rde 34 128 784 3
ripe_shutdown 3 27 169 1
ripe_iface_ctl 3 12 82 2
ripe_nbr_ctl 1 14 101 1
ripe_demote_iface 4 15 95 2
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/auth.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
auth_calc_modulator 1 12 103 1
auth_get_seq_num 1 4 21 1
auth_trailer_header_gen 1 7 48 1
auth_validate 15 92 574 6
auth_gen 4 32 203 2
auth_add_trailer 2 24 184 2
md_list_add 4 18 153 3
md_list_copy 2 13 104 2
md_list_clr 2 8 43 1
md_list_find 2 8 43 2
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/name2id.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rtlabel_name2id 1 4 20 1
rtlabel_id2name 1 4 18 1
rtlabel_unref 1 4 15 1
_name2id 10 35 238 2
_id2name 3 10 56 2
_unref 5 17 100 2
_ref 3 11 50 2
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/rde.h
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/carp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
carp_group_find 2 8 44 1
carp_demote_init 7 25 162 2
carp_demote_shutdown 4 11 73 1
carp_demote_get 4 21 140 1
carp_demote_set 7 18 118 2
carp_demote_ioctl 5 21 154 2
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/rde_rib.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
route_start_timeout 1 7 39 1
route_start_garbage 3 11 68 1
route_action_timeout 2 11 69 3
route_action_garbage 1 6 31 3
route_reset_timers 1 9 52 1
rt_init 1 4 12 1
rt_compare 5 12 121 2
rt_find 1 7 44 2
rt_new_kr 2 15 125 1
rt_new_rr 2 15 126 2
rt_insert 2 10 62 1
rt_remove 2 10 62 1
rt_snap 1 15 95 1
rt_dump 1 14 97 1
rt_complete 2 8 52 1
rt_clear 2 6 32 1
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/packet.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
gen_rip_hdr 1 8 55 2
send_packet 4 16 116 4
recv_packet 24 106 660 3
rip_hdr_sanity_check 2 9 39 1
find_iface 7 16 120 3
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/control.h
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/message.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
report_timer 1 8 59 3
start_report_timer 1 7 41 1
add_entry 3 11 74 2
delete_entry 2 5 23 1
clear_list 2 9 50 1
send_triggered_update 3 32 270 2
send_request 10 59 438 3
send_response 14 73 524 3
recv_request 8 40 252 4
recv_response 8 39 253 4
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/neighbor.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
nbr_fsm 11 47 261 2
nbr_init 4 12 88 1
nbr_new 3 22 162 2
nbr_del 1 9 49 1
nbr_act_del 3 11 67 1
nbr_find_peerid 2 11 52 1
nbr_find_ip 2 10 54 2
nbr_failed_new 3 18 126 1
nbr_failed_find 2 10 54 2
nbr_failed_delete 3 8 51 1
nbr_timeout_timer 2 8 42 3
nbr_failed_timeout 1 7 38 3
nbr_set_timer 2 8 46 1
nbr_stop_timer 2 5 27 1
nbr_event_name 1 4 15 1
nbr_action_name 1 4 15 1
nbr_to_ctl 4 24 204 1
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/ripe.h
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/printconf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_mainconf 5 18 85 1
print_no 2 7 24 1
print_redistribute 6 26 138 1
print_iface 5 25 126 1
print_config 1 9 42 1
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/ripd.h
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/ripd/kroute.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
kif_init 2 7 32 1
kr_init 9 37 261 2
kr_change_fib 6 24 211 3
kr_change 2 10 60 1
kr_delete 5 17 128 1
kr_shutdown 1 6 18 1
kr_fib_couple 3 11 65 1
kr_fib_decouple 3 11 65 1
kr_dispatch_msg 1 4 18 3
kr_show_route 8 37 233 1
kr_ifinfo 3 10 75 2
kr_redistribute 10 26 162 2
kroute_compare 9 18 199 2
kif_compare 1 4 29 2
kroute_find 5 19 128 3
kroute_insert 4 20 132 1
kroute_remove 2 13 85 1
kroute_clear 2 6 32 1
kif_find 1 7 44 1
kif_findname 2 8 49 1
kif_insert 2 9 46 1
kif_remove 2 9 46 1
kif_clear 2 6 32 1
kif_validate 2 9 48 1
kroute_match 4 12 85 1
protect_lo 3 14 103 1
prefixlen_classful 5 13 60 1
mask2prefixlen 2 7 32 1
prefixlen2mask 2 6 33 1
get_rtaddrs 3 12 87 3
if_change 7 29 207 3
if_announce 4 21 119 1
send_rtmsg 8 68 511 3
fetchtable 26 114 774 1
fetchifs 13 65 518 1
dispatch_rtmsg 44 168 1042 1
Source file: /home/sergeyb/sources/src/usr.sbin/mrinfo/mrinfo.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
inet_name 4 13 75 1
logit 11 29 147 4
ask 1 5 25 1
ask2 1 5 25 1
accept_neighbors 3 24 151 5
accept_neighbors2 19 53 364 5
usage 1 6 17 0
main 50 212 1301 2
accept_probe 1 4 20 5
accept_group_report 1 3 16 4
accept_neighbor_request2 1 3 10 2
accept_report 1 4 20 5
accept_neighbor_request 1 3 10 2
accept_prune 1 3 17 4
accept_graft 1 3 17 4
accept_g_ack 1 3 17 4
add_table_entry 1 3 10 2
check_vif_state 1 3 6 1
accept_leave_message 1 3 13 3
accept_mtrace 1 4 23 6
accept_membership_query 1 3 16 4
accept_info_request 1 3 17 4
accept_info_reply 1 3 17 4
Source file: /home/sergeyb/sources/src/usr.sbin/ospfctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/ospfctl/ospfctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 25 1
main 76 219 1352 2
show_summary_msg 5 41 208 1
get_ifms_type 5 15 52 1
show_interface_msg 5 27 165 1
show_interface_detail_msg 9 75 413 1
print_link 2 7 24 1
fmt_timeframe 2 7 32 1
fmt_timeframe_core 5 29 179 1
log_id 2 10 54 1
log_adv_rtr 2 10 54 1
mask2prefixlen 2 7 32 1
show_database_head 18 53 276 3
show_database_msg 7 41 218 1
print_ls_type 9 23 84 1
show_db_hdr_msg_detail 9 37 229 1
print_rtr_link_type 5 15 52 1
print_ospf_flags 4 9 55 1
show_db_msg_detail 22 135 924 1
show_nbr_msg 5 24 156 1
print_ospf_options 9 14 95 1
show_nbr_detail_msg 3 33 205 1
show_rib_msg 9 36 206 1
show_rib_head 11 38 192 3
print_ospf_rtr_flags 5 9 59 1
show_rib_detail_msg 17 74 429 1
show_fib_head 1 5 24 1
show_fib_msg 11 42 253 1
show_interface_head 1 5 17 1
get_media_descr 3 8 48 1
get_linkstate 3 11 77 2
print_baudrate 4 11 80 1
show_fib_interface_msg 7 27 156 1
Source file: /home/sergeyb/sources/src/usr.sbin/ospfctl/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse 6 24 150 2
match_token 29 74 448 3
show_valid_args 9 26 119 1
parse_addr 3 13 83 2
parse_prefix 4 19 143 3
prefixlen2mask 2 6 30 1
Source file: /home/sergeyb/sources/src/usr.sbin/switchctl/parser.h
Source file: /home/sergeyb/sources/src/usr.sbin/switchctl/parser.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse 6 24 152 2
parse_addr 7 46 334 2
match_token 67 177 996 3
show_valid_args 21 41 208 2
Source file: /home/sergeyb/sources/src/usr.sbin/switchctl/ofpclient.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ofpclient 16 64 442 2
flowmod 4 22 158 3
ofpclient_read 10 31 244 2
ofrelay_write 1 8 46 2
switch_add 1 6 27 1
switch_learn 1 5 26 4
switch_cached 1 4 18 2
ofp_nextstate 9 28 127 3
Source file: /home/sergeyb/sources/src/usr.sbin/switchctl/switchctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 25 1
main 56 177 1037 2
show_summary_msg 8 36 208 2
monitor_lookup 3 8 54 1
monitor 3 16 126 1
Source file: /home/sergeyb/sources/src/usr.sbin/authpf/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/authpf/authpf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 51 206 1372 2
read_config 24 54 415 1
print_message 5 16 96 1
allowed_luser 15 73 431 1
check_luser 8 36 220 2
remove_stale_rulesets 15 36 245 1
recursive_ruleset_purge 13 47 336 2
change_filter 21 93 615 3
change_table 9 32 234 2
authpf_kill_states 5 28 288 1
need_death 1 4 11 1
do_death 6 15 80 1
Source file: /home/sergeyb/sources/src/usr.sbin/iostat/iostat.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 22 70 346 2
sigheader 1 4 11 1
header 23 49 326 1
disk_stats 7 30 271 1
disk_stats2 3 15 134 1
cpustats 4 11 77 1
usage 1 6 18 1
display 9 29 182 1
selectdrives 18 44 269 1
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/hostapd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
hostapd_usage 1 6 20 1
hostapd_log 4 20 116 3
hostapd_printf 6 24 167 2
hostapd_fatal 2 13 69 2
hostapd_check_file_secrecy 5 20 110 2
hostapd_bpf_open 5 16 94 1
hostapd_udp_init 11 64 580 1
hostapd_sig_handler 5 10 40 3
hostapd_cleanup 11 42 304 1
main 22 102 664 2
hostapd_randval 3 11 68 2
hostapd_table_add 4 18 134 2
hostapd_table_lookup 2 9 55 2
hostapd_entry_add 3 12 91 2
hostapd_entry_lookup 3 12 89 2
hostapd_entry_update 2 10 74 2
hostapd_entry_cmp 1 4 30 2
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/handle.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
hostapd_handle_input 2 11 80 3
hostapd_handle_addr 8 13 117 5
hostapd_handle_ref 5 14 116 6
hostapd_handle_frame 47 136 951 4
hostapd_handle_action 21 84 525 7
hostapd_handle_radiotap 7 49 347 3
hostapd_cmp 13 11 86 3
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/iapp.h
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/apme.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
hostapd_apme_add 4 20 141 2
hostapd_apme_deauth 2 27 219 1
hostapd_apme_lookup 2 9 55 2
hostapd_apme_addhopper 4 17 141 2
hostapd_apme_sethopper 4 12 106 2
hostapd_apme_hopper 5 24 161 3
hostapd_apme_term 4 19 128 1
hostapd_apme_input 4 23 164 3
hostapd_apme_output 8 43 355 2
hostapd_apme_offset 6 20 135 3
hostapd_apme_frame 15 48 359 3
hostapd_apme_init 6 28 261 1
hostapd_apme_addnode 1 4 26 2
hostapd_apme_delnode 1 4 26 2
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/privsep.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
hostapd_priv_init 17 68 551 1
hostapd_priv_getapme 3 14 89 2
hostapd_priv 21 91 669 3
hostapd_priv_apme_getnode 4 18 149 2
hostapd_priv_apme_setnode 6 25 181 3
hostapd_priv_apme_bssid 4 18 142 1
hostapd_priv_llc_xid 3 13 93 2
hostapd_priv_roaming 4 19 137 3
hostapd_sig_relay 3 9 51 3
hostapd_sig_chld 2 5 28 3
hostapd_may_read 6 18 94 3
hostapd_must_read 6 18 91 3
hostapd_must_write 6 18 91 3
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/hostapd.h
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/iapp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
hostapd_iapp_init 2 15 86 1
hostapd_iapp_term 2 12 66 1
hostapd_iapp_add_notify 4 35 278 2
hostapd_iapp_radiotap 6 44 298 3
hostapd_iapp_input 28 91 557 3
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/roaming.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
hostapd_roaming_init 6 31 248 1
hostapd_roaming_term 7 22 158 1
hostapd_roaming 11 28 204 3
hostapd_roaming_addr 8 50 373 3
hostapd_roaming_rt 11 68 490 3
hostapd_roaming_add 1 4 26 2
hostapd_roaming_del 1 4 26 2
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/print-802_11.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ieee80211_hdr 6 48 349 1
ieee80211_print_element 2 8 51 2
ieee80211_print_essid 7 18 118 2
ieee80211_elements 39 136 688 1
ieee80211_frame 17 68 293 1
ieee80211_any2ieee 5 15 82 2
ieee80211_print 3 7 33 1
ieee802_11_if_print 2 8 48 2
ieee802_11_radio_if_print 41 155 982 2
hostapd_print_ieee80211 3 11 51 4
Source file: /home/sergeyb/sources/src/usr.sbin/hostapd/llc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
hostapd_llc_init 4 20 166 1
hostapd_llc_send_xid 2 20 183 2
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.bootparamd/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/rpc.bootparamd/bootparamd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 25 1
main 15 58 339 2
bootparamproc_whoami_1_svc 12 58 460 2
bootparamproc_getfile_1_svc 12 54 390 2
lookup_bootparam 19 57 374 5
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay/dispatch.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
iflist_getbyname 2 10 46 1
setup_iflist 19 79 649 1
register_interface 5 18 137 3
dispatch 21 67 417 1
got_one 7 30 188 1
interface_status 9 45 263 1
add_protocol 2 13 82 4
remove_protocol 4 15 76 1
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay/packet.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
checksum 5 15 102 3
wrapsum 1 5 21 1
assemble_hw_header 3 19 119 5
assemble_udp_ip_header 2 33 362 6
decode_hw_header 7 36 225 5
decode_udp_ip_header 23 91 696 4
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay/bpf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
if_register_bpf 3 9 64 1
if_register_send 1 4 17 1
if_register_receive 14 48 350 0
send_packet 5 30 239 0
receive_packet 10 59 360 0
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay/dhcpd.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ss2sin 1 4 19 1
ss2sin6 1 4 19 1
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay/dhcp.h
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay/dhcrelay.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 56 179 1193 2
relay 15 75 520 4
usage 1 8 26 1
rdaemon 7 25 138 1
print_hw_addr 6 22 145 3
got_response 8 36 286 1
relay_agentinfo 6 32 192 3
relay_agentinfo_cmp 9 29 192 3
relay_agentinfo_append 22 90 532 3
relay_agentinfo_remove 13 64 385 3
get_rdomain 3 13 101 1
l2relay 10 44 287 4
Source file: /home/sergeyb/sources/src/usr.sbin/dhcrelay/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/gpioctl/gpioctl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 34 105 754 2
getinfo 3 10 62 1
pinread 5 17 112 2
pinwrite 12 27 209 3
pinset 13 35 270 4
unset 3 11 79 2
devattach 2 11 90 4
devdetach 2 8 63 1
usage 1 13 63 1
Source file: /home/sergeyb/sources/src/usr.sbin/portmap/portmap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 29 142 1057 2
find_service 5 14 88 3
reg_service 45 146 813 2
xdr_encap_parms 1 4 37 2
portmap_xdr_rmtcall_args 4 9 73 2
portmap_xdr_rmtcallres 2 6 47 2
xdr_opaque_parms 1 4 33 2
xdr_len_opaque_parms 3 18 116 2
callit 11 51 390 2
reap 2 7 30 1
check_callit 11 14 97 3
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/pppstats/pppstats.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 8 24 0
catchalarm 1 5 13 1
get_ppp_stats 3 14 91 1
get_ppp_cstats 4 17 104 1
intpr 29 133 915 0
main 24 63 349 2
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/chat/chat.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dup_mem 2 10 48 2
copy_of 1 5 23 1
main 24 84 352 2
do_file 18 51 271 1
usage 1 8 19 0
logmsg 3 11 66 2
fatal 3 12 74 3
sigalrm 4 14 83 1
unalarm 3 8 54 0
sigint 1 5 16 1
sigterm 1 5 16 1
sighup 1 5 16 1
init 1 10 46 0
set_tty_parameters 4 17 106 0
break_sequence 2 4 12 0
terminate 11 31 175 1
clean 71 181 817 2
expect_strtok 7 32 133 2
chat_expect 15 55 259 1
character 4 15 100 1
chat_send 35 117 678 1
get_char 5 18 107 0
put_char 5 20 113 1
write_char 6 16 68 1
put_string 10 40 162 1
echo_stderr 5 22 85 1
get_string 38 125 783 1
pack_array 6 16 100 2
vfmtmsg 57 192 1024 4
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/options.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
parse_args 9 39 209 2
scan_args 5 20 102 2
usage 2 6 26 0
showhelp 2 9 30 1
showversion 2 10 39 1
options_from_file 15 62 360 4
options_from_user 5 15 105 0
options_for_tty 4 15 93 0
option_error 2 11 71 2
readable 7 22 136 1
getword 43 147 663 4
number_option 2 14 61 3
int_option 2 10 46 2
readfile 1 5 23 1
callfile 13 34 226 1
setdebug 1 6 18 1
setkdebug 1 5 20 1
setpdebug 1 5 20 1
setpassfilter 2 10 59 1
setactivefilter 2 10 59 1
noopt 1 9 91 1
noaccomp 1 7 33 1
noasyncmap 1 7 33 1
noip 1 6 21 1
nomagicnumber 1 7 33 1
nomru 1 7 33 1
setmru 2 10 53 1
setmtu 5 14 76 1
setcbcp 2 12 87 1
nopcomp 1 7 33 1
setpassive 1 6 24 1
setsilent 1 6 22 1
nopap 1 6 19 1
reqpap 1 7 27 1
nochap 1 6 19 1
reqchap 1 7 29 1
setnovj 1 7 33 1
setnovjccomp 1 7 31 1
setvjslots 4 14 69 1
setconnector 2 10 46 1
setdisconnector 2 10 46 1
setwelcomer 2 10 46 1
setmaxconnect 6 17 77 1
setdomain 4 16 81 1
setasyncmap 2 10 53 1
setescape 10 25 148 1
setspeed 4 11 54 1
setdevname 6 25 141 2
setipaddr 14 52 315 1
setnoipdflt 1 6 17 1
setipcpaccl 1 6 22 1
setipcpaccr 1 6 22 1
setnetmask 3 11 63 1
setcrtscts 1 6 19 1
setnocrtscts 1 6 20 1
setxonxoff 1 8 38 1
setnodetach 1 6 19 1
setupdetach 1 6 20 1
setdemand 1 7 21 1
setmodem 1 6 17 1
setmodem_chat 1 6 17 1
setlocal 1 6 17 1
setlock 1 6 17 1
setusehostname 1 6 17 1
setname 2 10 40 1
setuser 1 6 25 1
setremote 1 6 25 1
setauth 2 10 39 1
setnoauth 4 14 55 1
setdefaultroute 2 10 42 1
setnodefaultroute 1 7 31 1
setproxyarp 2 10 42 1
setnoproxyarp 1 7 31 1
setpersist 1 6 17 1
setnopersist 1 6 17 1
setdologin 1 6 17 1
setlcpechointv 1 5 20 1
setlcpechofails 1 5 20 1
setlcptimeout 1 5 25 1
setlcpterm 1 5 25 1
setlcpconf 1 5 25 1
setlcpfails 1 5 25 1
setipcptimeout 1 5 25 1
setipcpterm 1 5 25 1
setipcpconf 1 5 25 1
setipcpfails 1 5 25 1
setpaptimeout 1 5 25 1
setpapreqtime 1 5 25 1
setpapreqs 1 5 25 1
setchaptimeout 1 5 25 1
setchapchal 1 5 25 1
setchapintv 1 5 25 1
noccp 1 6 19 1
setbsdcomp 13 33 219 1
setnobsdcomp 1 7 31 1
setdeflate 13 34 219 1
setnodeflate 1 7 31 1
setnodeflatedraft 1 7 31 1
setpred1comp 1 7 31 1
setnopred1comp 1 7 31 1
setipparam 2 8 32 1
setpapcrypt 1 6 17 1
setidle 1 5 20 1
setholdoff 1 5 20 1
setdnsaddr 4 18 123 1
setwinsaddr 4 18 123 1
setmslanman 1 6 19 1
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/demand.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
demand_conf 7 22 154 0
demand_drop 5 19 117 0
demand_unblock 4 8 58 0
loop_chars 12 39 173 2
loop_frame 6 24 132 2
demand_rexmit 5 24 122 1
active_packet 10 23 147 2
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/cbcp.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/pppd.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/cbcp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cbcp_init 1 9 50 1
cbcp_lowerup 2 9 56 1
cbcp_open 1 5 16 1
cbcp_input 8 40 186 3
cbcp_protrej 1 3 7 1
switch 11 34 195 0
for 1 4 28 1
cbcp_recvreq 10 42 218 3
cbcp_resp 6 43 292 1
cbcp_send 2 18 99 4
cbcp_recvack 6 25 136 3
cbcp_up 1 6 21 1
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/fsm.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fsm_init 1 12 58 1
fsm_lowerup 4 20 84 1
fsm_lowerdown 11 33 156 1
fsm_open 9 28 121 1
fsm_close 11 33 188 2
fsm_timeout 14 40 262 1
fsm_input 15 60 317 3
fsm_rconfreq 14 49 293 4
fsm_rconfack 13 47 283 4
fsm_rconfnakrej 15 46 291 5
fsm_rtermreq 6 29 182 4
fsm_rtermack 8 27 151 1
fsm_rcoderej 3 18 103 3
fsm_protreject 12 36 212 1
fsm_sconfreq 10 31 241 2
fsm_sdata 4 22 157 5
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/ipcp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ip_ntoa 1 12 73 1
ipcp_init 1 24 163 1
ipcp_open 1 5 18 1
ipcp_close 1 6 26 2
ipcp_lowerup 1 5 18 1
ipcp_lowerdown 1 5 18 1
ipcp_input 1 7 33 3
ipcp_protrej 1 5 18 1
ipcp_resetci 4 12 86 1
ipcp_cilen 10 24 173 1
ipcp_addci 2 13 99 3
ipcp_ackci 3 20 132 3
ipcp_nakci 37 101 576 3
ipcp_rejci 4 24 143 3
ipcp_reqci 64 231 1327 4
ip_check_options 11 22 128 0
ip_demand_conf 8 20 154 1
ipcp_up 24 83 684 1
ipcp_down 2 14 82 1
ipcp_clear_addrs 3 16 89 1
ipcp_finished 1 5 19 1
ipcp_script 1 21 156 2
switch 26 79 391 0
for 1 4 28 1
ip_active_pkt 7 22 123 2
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/sys-bsd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sys_init 2 7 36 0
sys_cleanup 7 18 123 0
sys_close 2 8 28 0
sys_check_options 1 3 5 0
ppp_available 2 15 84 0
establish_ppp 14 52 322 1
restore_loop 5 23 123 0
disestablish_ppp 6 12 80 1
clean_check 7 26 111 0
set_up_tty 12 48 292 2
restore_tty 5 14 73 1
setdtr 2 6 34 2
open_ppp_loopback 11 41 302 0
output 4 12 63 3
wait_input 4 19 130 1
wait_loop_output 4 19 130 1
wait_time 3 10 53 1
read_packet 4 12 63 1
get_loop_output 5 17 92 0
ppp_send_config 7 28 202 5
ppp_set_xaccm 3 7 38 2
ppp_recv_config 6 24 164 5
ccp_test 3 12 77 4
ccp_flags_set 5 13 98 3
ccp_fatal_error 2 10 46 1
get_idle_time 1 6 28 2
set_filters 5 18 96 2
sifvjcomp 7 20 141 4
sifup 3 17 100 1
sifnpmode 2 14 69 3
sifdown 3 24 142 1
sifaddr 6 38 317 4
cifaddr 3 19 152 3
sifdefaultroute 1 6 26 3
cifdefaultroute 1 6 26 3
dodefaultroute 7 40 287 2
sifproxyarp 4 36 256 2
cifproxyarp 4 23 122 2
sifproxyarp 3 27 183 2
cifproxyarp 2 15 92 2
get_ether_addr 10 41 272 2
GetMask 8 31 199 1
lock 9 46 304 1
unlock 2 8 25 0
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/chap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ChapInit 1 11 60 1
ChapAuthWithPeer 3 15 72 3
ChapAuthPeer 3 17 82 3
ChapChallengeTimeout 4 15 77 1
ChapResponseTimeout 2 8 35 1
ChapRechallenge 2 10 46 1
ChapLowerUp 5 16 89 1
ChapLowerDown 6 15 89 1
ChapProtocolReject 5 12 66 1
ChapInput 8 44 211 3
ChapReceiveChallenge 12 70 428 4
ChapReceiveResponse 16 90 526 4
ChapReceiveSuccess 4 20 107 4
ChapReceiveFailure 3 18 98 4
ChapSendChallenge 1 23 162 1
ChapSendStatus 2 23 143 2
ChapGenChallenge 1 11 56 1
ChapSendResponse 1 22 154 1
switch 9 29 170 0
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/upap.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
upap_init 1 16 85 1
upap_authwithpeer 3 17 95 3
upap_authpeer 4 13 68 1
upap_timeout 3 14 71 1
upap_reqtimeout 2 9 45 1
upap_lowerup 6 17 99 1
upap_lowerdown 4 11 67 1
upap_protrej 3 14 72 1
upap_input 7 40 186 3
upap_rauthreq 9 54 333 4
upap_rauthack 4 26 139 4
upap_rauthnak 4 27 146 4
upap_sauthreq 1 23 172 1
upap_sresp 1 19 122 5
switch 9 33 210 0
for 1 4 28 1
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/magic.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
magic_init 1 3 5 0
magic 1 4 10 0
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/upap.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/auth.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
link_required 1 4 9 1
link_terminated 3 10 36 1
link_down 9 22 131 1
link_established 17 45 287 1
network_phase 14 28 169 1
auth_peer_fail 1 5 20 2
auth_peer_success 5 26 125 4
auth_withpeer_fail 2 6 24 2
auth_withpeer_success 5 21 84 2
np_up 5 14 69 2
np_down 3 7 33 2
np_finished 2 7 29 2
check_idle 3 15 79 1
connect_time_expired 1 6 24 1
auth_check_options 25 42 283 0
auth_reset 10 18 140 1
check_passwd 17 72 470 7
plogin 6 31 215 4
plogout 2 9 43 0
null_login 5 24 145 1
get_pap_passwd 5 23 127 1
have_pap_secret 4 18 99 0
have_chap_secret 5 22 117 3
get_secret 5 39 218 6
set_allowed_addrs 11 21 164 2
auth_ip_addr 1 6 25 2
ip_addr_check 19 65 368 2
bad_ip_adrs 3 7 36 1
check_access 3 11 74 2
scan_authfile 36 104 612 7
free_wordlist 2 10 39 1
auth_script 3 24 156 1
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/patchlevel.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/chap.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/lcp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
lcp_init 2 41 259 1
lcp_open 3 12 64 1
lcp_close 4 13 78 2
lcp_lowerup 1 12 90 1
lcp_lowerdown 1 5 18 1
lcp_input 1 8 39 3
lcp_extcode 6 29 140 5
lcp_rprotrej 6 31 163 3
lcp_protrej 1 7 27 1
lcp_sprotrej 1 10 51 3
lcp_resetci 1 9 64 1
lcp_cilen 4 14 105 1
lcp_addci 5 21 182 3
lcp_ackci 5 26 200 3
lcp_nakci 61 138 768 3
lcp_rejci 4 31 187 3
lcp_reqci 54 247 1271 4
lcp_up 8 22 207 1
lcp_down 2 12 89 1
lcp_starting 1 5 17 1
lcp_finished 1 5 17 1
switch 38 122 548 0
for 1 4 28 1
LcpLinkFailure 2 9 45 1
LcpEchoCheck 1 8 35 1
LcpEchoTimeout 2 8 31 1
lcp_received_echo_reply 4 17 92 4
LcpSendEchoRequest 4 19 100 1
lcp_echo_lowerup 2 10 42 1
lcp_echo_lowerdown 2 9 38 1
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/lcp.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/ccp.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/main.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 84 258 1577 2
detach 3 11 44 0
holdoff_end 1 5 14 1
get_input 19 53 309 0
quit 1 4 10 0
die 1 8 34 1
cleanup 3 8 27 0
close_tty 3 13 60 0
if 1 4 36 1
if 1 5 36 0
calltimeout 6 18 114 0
timeleft 4 16 99 0
kill_my_pg 1 10 55 0
hup 3 13 56 0
term 3 14 62 0
chld 1 7 22 0
toggle_debug 2 10 39 0
open_ccp 1 5 13 0
bad_signal 3 12 54 0
device_script 16 64 365 0
run_program 10 50 303 0
reap_kids 6 19 93 0
log_packet 2 12 71 0
if 4 17 131 0
for 1 4 28 0
pr_log 2 15 102 0
for 8 22 112 1
novm 1 6 24 1
fmtmsg 1 9 51 4
vfmtmsg 59 201 1071 4
script_setenv 9 35 229 2
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/magic.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/ccp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ccp_init 1 26 224 1
ccp_open 3 11 63 1
ccp_close 1 7 35 2
ccp_lowerup 1 5 18 1
ccp_lowerdown 1 5 18 1
ccp_input 7 15 103 3
ccp_extcode 6 23 116 5
ccp_protrej 1 6 27 1
ccp_resetci 14 47 344 1
ccp_cilen 5 9 63 1
ccp_addci 23 77 487 3
ccp_ackci 36 61 358 3
ccp_nakci 23 45 315 3
ccp_rejci 35 61 393 3
ccp_reqci 59 140 830 4
method_name 13 35 204 2
ccp_up 5 24 169 1
ccp_down 2 8 48 1
switch 26 61 327 0
ccp_datainput 4 21 132 0
ccp_rack_timeout 3 11 78 0
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/ipcp.h
Source file: /home/sergeyb/sources/src/usr.sbin/pppd/fsm.h
Source file: /home/sergeyb/sources/src/usr.sbin/cron/pathnames.h
Source file: /home/sergeyb/sources/src/usr.sbin/cron/atrun.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
strtot 6 12 91 3
scan_atjobs 19 74 523 2
atrun 16 61 411 3
run_job 64 249 1741 3
Source file: /home/sergeyb/sources/src/usr.sbin/cron/misc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
get_char 2 8 35 1
unget_char 2 6 30 2
get_string 5 13 78 4
skip_comments 10 16 93 1
first_word 6 17 127 2
Source file: /home/sergeyb/sources/src/usr.sbin/cron/user.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
free_user 2 10 55 1
parse_error 1 5 25 1
load_user 12 66 350 3
Source file: /home/sergeyb/sources/src/usr.sbin/cron/funcs.h
Source file: /home/sergeyb/sources/src/usr.sbin/cron/entry.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
free_entry 2 8 40 1
load_entry 55 217 1507 4
get_list 4 18 120 6
get_range 15 46 313 6
get_number 12 41 248 6
set_element 3 7 48 4
Source file: /home/sergeyb/sources/src/usr.sbin/cron/popen.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cron_popen 15 58 418 4
cron_pclose 5 20 136 2
Source file: /home/sergeyb/sources/src/usr.sbin/cron/cron.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 5 20 1
main 21 111 656 2
run_reboot_jobs 2 12 64 1
find_jobs 13 30 255 4
set_time 3 12 73 1
cron_sleep 14 57 380 2
open_socket 8 46 308 1
sigchld_handler 1 4 11 1
sigchld_reaper 5 18 64 1
parse_args 8 23 112 2
Source file: /home/sergeyb/sources/src/usr.sbin/cron/structs.h
Source file: /home/sergeyb/sources/src/usr.sbin/cron/client.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
in_file 7 20 129 3
allowed 4 16 119 3
poke_daemon 6 23 166 1
Source file: /home/sergeyb/sources/src/usr.sbin/cron/globals.h
Source file: /home/sergeyb/sources/src/usr.sbin/cron/cron.h
Source file: /home/sergeyb/sources/src/usr.sbin/cron/macros.h
Source file: /home/sergeyb/sources/src/usr.sbin/cron/env.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
env_init 2 7 37 1
env_free 2 7 37 1
env_copy 6 21 141 1
env_find 7 18 147 3
env_get 1 5 28 2
env_set 4 20 131 2
load_env 31 89 449 2
Source file: /home/sergeyb/sources/src/usr.sbin/cron/database.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
load_database 14 59 422 1
find_user 3 11 60 2
process_crontab 22 70 530 6
Source file: /home/sergeyb/sources/src/usr.sbin/cron/do_command.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
do_command 3 14 54 2
child_process 52 220 1381 2
safe_p 8 15 121 2
Source file: /home/sergeyb/sources/src/usr.sbin/cron/job.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
job_add 4 12 81 2
job_runqueue 2 12 61 1
Source file: /home/sergeyb/sources/src/usr.sbin/cron/config.h
Source file: /home/sergeyb/sources/src/usr.sbin/cron/crontab.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 2 13 55 1
main 8 41 192 2
parse_args 23 67 400 2
list_cmd 4 18 119 1
delete_cmd 4 15 99 1
check_error 1 5 27 1
edit_cmd 26 109 635 1
replace_cmd 24 114 709 1
editit 12 46 332 1
die 2 6 27 1
copy_crontab 8 19 109 2
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/switchd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 8 27 1
main 27 122 790 2
switchd_socket 7 26 174 2
switchd_listen 4 14 86 1
switchd_tap 3 12 72 1
switchd_connbyid 3 9 59 3
switchd_connbyaddr 2 10 64 2
parent_sig_handler 6 22 92 3
parent_configure 2 13 94 1
parent_reload 4 35 240 1
parent_dispatch_control 7 40 270 3
parent_shutdown 1 7 32 1
parent_connect 15 71 456 2
parent_connected 5 26 167 3
parent_disconnect 2 10 75 2
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/types.h
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 10 48 2
log_procinit 2 5 19 1
log_setverbose 1 4 11 1
log_getverbose 1 4 11 1
logit 1 7 38 3
vlog 3 17 99 3
log_warn 3 21 120 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 43 2
vfatalc 3 17 106 3
fatal 1 8 40 2
fatalx 1 8 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/timer.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
timer_set 1 8 62 4
timer_add 3 8 64 3
timer_del 4 6 42 2
timer_callback 2 6 40 3
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/ofp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ofp 1 5 39 2
ofp_run 2 9 68 3
ofp_dispatch_control 2 10 52 3
ofp_dispatch_parent 7 28 195 3
ofp_input 13 41 263 2
ofp_open 4 13 100 2
ofp_close 1 4 14 1
ofp_nextstate 11 36 181 3
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control 1 4 32 2
control_run 2 5 35 3
control_dispatch_ofp 6 29 218 3
control_init 9 50 372 2
control_listen 3 14 96 1
control_cleanup 2 8 45 1
control_accept 9 37 291 3
control_connbyfd 2 9 42 1
control_close 3 17 123 2
control_dispatch_imsg 18 69 433 3
control_imsg_forward 2 9 70 1
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/imsg_util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ibuf_cat 1 4 31 2
ibuf_zero 1 4 20 1
ibuf_reset 1 5 24 1
ibuf_new 6 20 107 2
ibuf_static 2 8 39 1
ibuf_advance 2 7 45 2
ibuf_release 3 10 44 1
ibuf_length 3 6 34 1
ibuf_data 1 4 21 1
ibuf_getdata 2 8 51 2
ibuf_dataleft 1 4 20 1
ibuf_dataoffset 1 4 16 1
ibuf_get 2 7 46 2
ibuf_dup 2 6 36 1
ibuf_random 3 13 73 1
ibuf_setsize 2 7 37 2
ibuf_setmax 2 7 37 2
ibuf_prepend 3 14 97 3
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/ofp10.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ofp10_validate 5 20 130 5
ofp10_validate_packet_in 6 33 226 5
ofp10_validate_packet_out 6 46 304 5
ofp10_validate_error 5 28 170 5
ofp10_input 4 14 121 4
ofp10_hello 3 11 82 4
ofp10_features_reply 1 5 36 4
ofp10_validate_features_reply 5 35 265 5
ofp10_echo_request 2 9 73 4
ofp10_packet_match 5 14 113 3
ofp10_packet_in 22 85 632 4
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/ofcconn.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ofcconn 1 5 38 2
ofcconn_run 2 5 35 3
ofcconn_shutdown 1 8 37 1
ofcconn_dispatch_parent 8 40 260 3
ofsw_create 4 23 161 2
ofsw_close 2 13 74 1
ofsw_free 2 8 39 1
ofsw_on_io 10 42 252 3
ofsw_write 14 57 368 2
ofsw_ofc_write_ready 3 14 61 1
ofsw_reset_event_handlers 5 15 102 1
ofsw_new_ofcconn 6 34 269 2
ofcconn_connect 5 33 210 1
ofcconn_on_sockio 12 59 377 3
ofcconn_connect_again 2 10 83 1
ofcconn_on_timer 3 13 74 3
ofcconn_reset_event_handlers 6 18 112 1
ofcconn_io_fail 1 5 19 1
ofcconn_close 2 11 61 1
ofcconn_free 2 9 50 1
ofcconn_send_hello 2 18 112 1
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/switchd.h
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/packet.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
packet_ether_unicast 4 8 48 1
packet_input 10 33 264 7
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/ofp10.h
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/ofrelay.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ofrelay 2 9 79 2
ofrelay_run 1 11 99 3
ofrelay_close 3 24 169 1
ofrelay_event 7 27 139 3
ofrelay_input 17 58 405 3
ofrelay_write 1 8 62 2
ofrelay_input_open 3 13 72 3
ofrelay_input_close 3 10 63 3
ofrelay_input_done 5 18 130 2
ofrelay_bufget 2 7 43 2
ofrelay_bufput 1 4 21 2
ofrelay_output 4 15 105 3
ofrelay_accept 5 25 174 3
ofrelay_inflight_dec 3 11 52 2
ofrelay_attach 8 52 403 3
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
socket_set_blockmode 4 12 75 2
accept4_reserve 3 14 100 6
socket_getport 3 12 69 1
socket_setport 3 14 82 2
sockaddr_cmp 21 58 621 3
prefixlen2mask 3 8 43 1
prefixlen2mask6 4 15 107 2
print_ether 2 15 110 1
print_host 7 32 232 3
print_map 5 21 164 2
getmonotime 2 7 36 1
print_debug 2 9 45 2
print_verbose 2 9 43 2
print_hex 7 16 98 3
parsehostport 8 37 278 3
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/ofp_map.h
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/switch.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
switch_init 1 4 17 1
switch_dispatch_control 2 34 248 3
switch_get 1 8 66 1
switch_add 4 23 180 1
switch_timer 4 22 156 2
switch_remove 3 17 128 2
switch_learn 6 24 190 4
switch_cached 1 6 50 2
switch_cmp 2 10 74 2
switch_maccmp 1 4 35 2
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/proc.h
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/ofp13.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ofp13_validate 5 20 130 5
ofp13_validate_oxm_basic 75 189 1247 4
ofp13_validate_oxm 7 30 158 5
ofp13_validate_packet_in 12 57 437 5
ofp13_validate_packet_out 9 42 306 5
ofp13_validate_error 8 37 227 5
ofp13_input 4 17 141 4
ofp13_hello 3 11 82 4
ofp13_echo_request 2 9 73 4
ofp13_validate_features_reply 2 13 101 5
ofp13_features_reply 1 5 36 4
ofp13_validate_action 31 120 881 5
ofp13_validate_instruction 21 78 529 5
ofp13_validate_flow_mod 10 53 426 5
ofp13_packet_match 6 20 174 3
ofp13_packet_in 32 129 911 4
ofp13_flow_removed 2 17 140 4
ofp13_tableproperties 55 185 1075 5
ofp13_multipart_reply 8 37 261 4
ofp13_validate_tableproperty 34 132 771 3
ofp13_multipart_reply_validate 30 110 730 5
ofp13_multipart_request 2 15 108 4
ofp13_multipart_request_validate 24 78 482 5
ofp13_desc 4 19 144 2
ofp13_flow_stats 7 33 272 5
ofp13_table_features 4 21 147 3
ofp13_error 6 30 233 6
ofp13_group 2 16 117 5
ofp13_bucket 2 11 79 4
ofp13_setconfig_validate 2 12 90 5
ofp13_setconfig 4 24 183 4
ofp13_flowmod 2 18 159 7
ofp13_tablemiss_sendctrl 8 31 208 3
ofp13_switchconfigure 4 17 105 2
ofp13_getflowtable 4 15 86 1
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/proc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
proc_ispeer 3 9 55 3
proc_getid 3 13 75 3
proc_exec 11 52 398 5
proc_connect 9 24 191 1
proc_init 11 42 301 6
proc_accept 4 24 185 4
proc_setup 13 42 451 3
proc_kill 11 30 180 1
proc_open 10 34 319 3
proc_close 6 21 171 1
proc_shutdown 4 11 76 1
proc_sig_handler 7 17 63 3
proc_run 17 64 574 6
proc_dispatch 16 66 439 3
proc_dispatch_null 1 4 23 3
imsg_event_add 3 13 95 1
imsg_compose_event 2 10 75 7
imsg_composev_event 2 10 77 7
proc_range 2 9 57 4
proc_compose_imsg 3 12 106 8
proc_compose 1 5 48 5
proc_composev_imsg 3 11 106 8
proc_composev 1 5 50 5
proc_forward_imsg 1 6 58 4
proc_ibuf 1 6 48 3
proc_iev 1 6 46 3
proc_flush_imsg 6 17 126 3
Source file: /home/sergeyb/sources/src/usr.sbin/switchd/ofp_common.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ofp_validate_header 7 27 147 5
ofp_validate 3 13 84 6
ofp_output 6 19 126 3
ofp_send_hello 6 31 265 3
ofp_validate_hello 11 39 318 5
ofp_setversion 3 11 43 2
ofp_recv_hello 12 38 337 4
ofp_send_featuresrequest 4 20 156 2
action_new 2 9 69 2
action_group 2 10 75 2
action_output 2 11 90 3
action_push 2 10 81 3
action_pop_vlan 1 4 19 1
action_pop_mpls 2 10 78 2
action_copyttlout 1 4 19 1
action_copyttlin 1 4 19 1
action_decnwttl 1 4 19 1
action_setfield 2 8 52 1
oxm_get 4 16 102 4
oxm_inport 2 10 72 2
oxm_inphyport 2 10 72 2
oxm_metadata 3 14 111 4
oxm_etheraddr 4 13 103 4
oxm_ethertype 2 9 72 2
oxm_vlanvid 3 16 119 4
oxm_vlanpcp 2 9 69 2
oxm_ipdscp 2 9 69 2
oxm_ipecn 2 9 69 2
oxm_ipproto 2 8 65 2
oxm_ipaddr 4 16 125 5
oxm_tcpport 3 11 86 3
oxm_udpport 3 11 86 3
oxm_sctpport 3 11 86 3
oxm_icmpv4type 2 9 65 2
oxm_icmpv4code 2 9 65 2
oxm_arpop 2 9 72 2
oxm_arpaddr 4 16 125 5
oxm_arphaddr 4 13 103 4
oxm_ipv6addr 4 14 121 4
oxm_ipv6flowlabel 3 17 119 4
oxm_icmpv6type 2 9 65 2
oxm_icmpv6code 2 9 65 2
oxm_ipv6ndtarget 2 9 68 2
oxm_ipv6ndlinkaddr 3 10 73 3
oxm_mplslabel 2 11 76 2
oxm_mplstc 2 9 69 2
oxm_mplsbos 2 9 69 2
oxm_tunnelid 3 14 111 4
oxm_ipv6exthdr 3 16 119 4
ofp_instruction 2 9 63 3
ofp_multipart_lookup 2 10 50 2
ofp_multipart_add 4 15 110 3
ofp_multipart_del 3 10 53 2
ofp_multipart_free 1 6 33 2
ofp_multipart_clear 2 8 44 1
switch_tablelookup 2 9 48 2
switch_newtable 2 9 64 2
switch_deltable 1 5 31 2
switch_freetables 2 8 44 1
oflowmod_state 2 7 42 3
oflowmod_err 3 11 73 3
oflowmod_open 8 37 224 4
oflowmod_mopen 2 8 56 1
oflowmod_mclose 4 18 136 1
oflowmod_iopen 6 14 117 1
oflowmod_instruction 14 39 253 2
oflowmod_instructionclose 4 14 102 1
oflowmod_iclose 4 10 79 1
oflowmod_close 8 21 145 1
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 8 36 1
log_verbose 1 4 11 1
logit 1 7 38 3
vlog 3 15 90 3
log_warn 3 18 111 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 41 2
fatal 3 19 104 2
fatalx 1 5 20 1
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/task.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
task_init 4 16 130 6
taskq_cleanup 3 11 63 1
task_pdu_add 7 17 95 2
task_pdu_cb 11 40 212 2
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control_init 9 51 331 1
control_cleanup 2 9 45 1
control_event_init 1 7 46 1
control_accept 9 31 217 3
control_close 2 11 69 1
control_dispatch 15 57 372 3
control_getpdu 9 40 230 2
control_queue 1 8 70 2
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/logmsg.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_hexdump 11 30 233 2
log_pdu 5 24 249 2
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/vscsi.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
vscsi_open 2 7 61 1
vscsi_dispatch 17 61 494 3
vscsi_data 4 16 109 4
vscsi_status 5 17 137 4
vscsi_event 4 12 79 3
vscsi_callback 13 71 444 3
vscsi_fail 1 6 33 1
vscsi_dataout 7 32 264 5
vscsi_stats 1 4 12 1
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/session.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
session_find 2 9 52 2
session_new 3 20 141 2
session_cleanup 2 10 66 1
session_shutdown 3 14 89 1
session_config 5 19 138 2
session_task_issue 1 5 31 2
session_logout_issue 4 19 101 2
session_schedule 3 13 75 1
session_fsm 3 18 133 4
session_fsm_callback 6 30 210 3
sess_do_start 4 16 106 2
sess_do_conn_loggedin 3 13 84 2
sess_do_conn_fail 9 30 172 2
sess_do_conn_closed 5 18 101 2
sess_do_stop 2 7 43 2
sess_do_free 2 7 43 2
sess_do_reinstatement 2 14 92 2
sess_state 5 17 63 1
sess_event 11 28 98 1
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/pdu.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pdu_gethdr 3 11 64 1
text_to_pdu 8 29 202 2
pdu_to_text 9 32 206 2
text_to_num 10 35 200 4
text_to_bool 5 18 87 2
pdu_free_queue 2 8 41 1
pdu_read 6 26 223 1
pdu_write 17 58 412 1
pdu_pending 2 7 26 1
pdu_parse 16 55 394 1
pdu_readbuf_read 5 22 170 3
pdu_readbuf_len 2 7 44 1
pdu_readbuf_set 3 13 72 2
pdu_readbuf_free 1 4 16 1
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pdu_new 2 7 35 1
pdu_alloc 1 4 16 1
pdu_dup 2 7 41 2
pdu_addbuf 4 14 106 4
pdu_getbuf 5 12 74 3
pdu_free 2 7 43 1
socket_setblockmode 4 13 71 2
log_sockaddr 4 17 132 1
control_compose 1 4 37 4
control_build 9 34 290 4
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/initiator.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
initiator_init 2 14 84 1
initiator_cleanup 2 9 54 1
initiator_shutdown 1 7 35 1
initiator_isdown 3 10 59 1
initiator_t2s 2 9 39 1
initiator_login 3 21 136 1
initiator_discovery 3 21 125 1
initiator_logout 7 33 216 3
initiator_nop_in_imm 2 17 118 2
initiator_login_kvp 8 37 239 2
initiator_login_build 8 44 293 2
initiator_text_build 4 18 124 3
initiator_login_cb 13 70 389 3
initiator_discovery_cb 7 41 255 3
initiator_logout_cb 6 36 212 3
default_initiator_name 4 11 83 1
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/iscsid.h
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/connection.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
conn_new 6 42 318 2
conn_free 2 13 89 1
conn_dispatch 7 22 110 3
conn_write_dispatch 8 36 195 3
conn_fail 1 5 21 1
conn_task_ready 3 6 33 1
conn_task_issue 1 5 31 2
conn_task_schedule 4 18 116 1
conn_task_cleanup 3 12 72 2
conn_parse_kvp 3 28 237 2
conn_gen_kvp 11 34 228 3
conn_pdu_write 9 19 100 2
conn_fsm 5 22 169 2
c_do_connect 6 33 251 2
c_do_login 1 5 21 2
c_do_loggedin 1 6 47 2
c_do_req_logout 2 7 28 2
c_do_logout 1 4 16 2
c_do_loggedout 1 4 16 2
c_do_fail 3 13 87 2
c_do_cleanup 1 4 16 2
conn_state 10 27 93 1
conn_event 11 28 98 1
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/iscsid.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main 17 72 469 2
shutdown_cb 4 10 66 3
main_sig_handler 5 17 82 3
usage 1 7 25 1
iscsid_ctrl_dispatch 18 97 674 2
iscsi_merge_sess_params 1 16 148 3
iscsi_merge_conn_params 1 5 27 3
Source file: /home/sergeyb/sources/src/usr.sbin/iscsid/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/amd/include/fstype.h
Source file: /home/sergeyb/sources/src/usr.sbin/amd/include/config.h
Source file: /home/sergeyb/sources/src/usr.sbin/amd/include/am.h
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/nfs_prot_svc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
nfs_program_2 23 132 905 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/mount.h
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/amq.h
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/amq_xdr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
xdr_amq_string 2 6 34 2
xdr_time_type 2 6 32 2
xdr_amq_mount_tree 14 30 279 2
xdr_amq_mount_tree_p 2 6 46 2
xdr_amq_mount_info 8 18 143 2
xdr_amq_mount_info_list 2 8 60 2
xdr_amq_mount_tree_list 2 8 60 2
xdr_amq_mount_stats 6 14 107 2
xdr_amq_opt 2 6 36 2
xdr_amq_setopt 3 8 53 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/amq_svc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
amq_program_57 14 79 533 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/amq_clnt.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
amqproc_null_57 2 9 72 2
amqproc_mnttree_57 2 9 68 2
amqproc_umnt_57 2 9 72 2
amqproc_stats_57 2 9 68 2
amqproc_export_57 2 9 68 2
amqproc_setopt_57 2 9 68 2
amqproc_getmntfs_57 2 9 68 2
amqproc_getvers_57 2 9 68 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/nfs_prot_xdr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
xdr_nfs_fh 2 6 36 2
xdr_nfstime 3 8 53 2
xdr_fattr 15 32 269 2
xdr_sattr 7 16 125 2
xdr_filename 2 6 34 2
xdr_nfspath 2 6 34 2
xdr_attrstat 4 14 72 2
xdr_sattrargs 3 8 53 2
xdr_diropargs 3 8 53 2
xdr_diropokres 3 8 53 2
xdr_diropres 4 14 72 2
xdr_readlinkres 4 14 72 2
xdr_readargs 5 12 89 2
xdr_readokres 3 10 72 2
xdr_readres 4 14 72 2
xdr_writeargs 6 16 126 2
xdr_createargs 3 8 53 2
xdr_renameargs 3 8 53 2
xdr_linkargs 3 8 53 2
xdr_symlinkargs 4 10 71 2
xdr_nfscookie 2 6 33 2
xdr_readdirargs 4 10 70 2
xdr_entry 5 12 102 2
xdr_dirlist 3 8 67 2
xdr_readdirres 4 14 72 2
xdr_statfsokres 6 14 107 2
xdr_statfsres 4 14 72 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/mount_xdr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
xdr_fhstatus 16 34 245 2
xdr_dirpath 2 7 36 2
xdr_name 2 7 36 2
xdr_mountlist 2 7 46 2
xdr_mountbody 4 13 77 2
xdr_groups 2 7 46 2
xdr_groupnode 3 10 57 2
xdr_exports 2 7 46 2
xdr_exportnode 4 13 77 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/rpcx/nfs_prot.h
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amq/amq.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
show_mti 13 55 404 5
show_mt 2 9 64 5
show_mi 12 43 283 5
show_ms 1 7 35 1
xdr_pri_free 1 6 34 2
main 52 233 1233 2
inetresport 5 21 139 1
privsock 2 9 34 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/nfsx_ops.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
nfsx_match 11 38 272 1
nfsx_prfree 3 12 74 1
nfsx_init 15 76 515 1
nfsx_cont 5 31 208 3
try_nfsx_mount 1 9 50 1
nfsx_remount 20 48 343 2
nfsx_fmount 1 4 16 1
nfsx_fumount 10 41 262 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/wire.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
getwire 10 36 246 1
islocalnet 4 11 76 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/amq_subr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
amqproc_null_57_svc 1 5 21 2
amqproc_mnttree_57_svc 1 6 34 2
amqproc_umnt_57_svc 2 8 40 2
amqproc_stats_57_svc 1 4 21 2
amqproc_export_57_svc 1 7 41 2
amqproc_setopt_57_svc 11 30 132 2
amqproc_getmntfs_57_svc 1 5 25 2
amqproc_getvers_57_svc 1 6 25 2
xdr_amq_string 2 7 36 2
xdr_amq_setopt 3 10 63 2
xdr_amq_mount_tree_node 13 39 284 2
xdr_amq_mount_subtree 4 14 106 2
xdr_amq_mount_tree 4 15 110 2
xdr_amq_mount_tree_p 2 7 45 2
xdr_amq_mount_stats 6 19 117 2
xdr_amq_mount_tree_list 2 7 59 2
xdr_amq_mount_info_list 15 46 344 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/info_ndbm.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
search_ndbm 2 12 71 3
ndbm_search 4 19 119 5
ndbm_init 3 15 78 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/umount_fs.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
umount_fs 8 23 89 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/rpc_fwd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
fwd_alloc 7 22 134 0
fwd_free 3 5 21 1
fwd_init 3 11 62 0
fwd_locate 2 9 36 1
fwd_packet 15 47 316 7
fwd_reply 22 57 355 0
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/mtab.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mnt_free 1 8 42 1
discard_mntlist 3 10 46 1
free_mntlist 1 4 13 1
hasmntval 3 12 68 2
mnt_dup 1 11 76 1
read_mtab 3 18 112 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/nfs_subr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
do_readlink 5 20 113 3
nfsproc_null_2_svc 1 5 21 2
nfsproc_getattr_2_svc 7 27 161 2
nfsproc_setattr_2_svc 2 9 53 2
nfsproc_root_2_svc 1 5 21 2
nfsproc_lookup_2_svc 8 34 214 2
nfsproc_readlink_2_svc 7 26 152 2
nfsproc_read_2_svc 1 7 43 2
nfsproc_writecache_2_svc 1 5 21 2
nfsproc_write_2_svc 2 9 52 2
nfsproc_create_2_svc 2 9 54 2
unlink_or_rmdir 8 32 188 3
nfsproc_remove_2_svc 1 4 24 2
nfsproc_rename_2_svc 4 11 82 2
nfsproc_link_2_svc 3 9 58 2
nfsproc_symlink_2_svc 2 9 49 2
nfsproc_mkdir_2_svc 2 9 54 2
nfsproc_rmdir_2_svc 1 4 24 2
nfsproc_readdir_2_svc 5 22 148 2
nfsproc_statfs_2_svc 5 27 150 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/info_union.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
union_init 2 5 33 2
union_search 2 13 113 5
union_reload 10 39 327 3
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/ifs_ops.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ifs_match 1 5 18 1
ifs_init 4 15 100 1
ifs_inherit 3 16 100 1
ifs_mount 3 12 57 1
ifs_fmount 3 7 37 1
ifs_fumount 1 4 11 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/misc_rpc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rpc_msg_init 1 11 76 4
pickup_rpc_reply 5 31 187 4
make_rpc_packet 5 18 130 7
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/sfs_ops.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sfs_match 5 23 136 1
sfsx_mount 3 12 55 1
sfs_fmount 1 4 11 1
sfs_fumount 1 4 11 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/mapc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
kvhash_of 2 7 38 1
mapc_showtypes 2 9 63 1
mapc_add_kv 5 35 214 3
mapc_repl_kv 4 13 83 3
search_map 3 12 81 3
mapc_find_wildcard 2 6 35 1
mapc_reload_map 5 14 83 1
mapc_create 13 48 320 2
mapc_clear 4 19 109 1
mapc_find 2 10 65 2
mapc_free 3 10 52 1
mapc_meta_search 27 69 453 4
mapc_search 1 4 28 3
mapc_sync 5 11 57 1
mapc_reload 1 6 24 1
root_init 2 5 33 2
root_newmap 4 13 90 3
mapc_keyiter 3 14 89 3
root_keyiter 3 10 54 2
error_init 1 6 29 2
error_search 1 4 27 5
error_reload 1 4 19 3
error_mtime 1 5 20 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/srvr_nfs.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
flush_srvr_nfs_cache 2 11 54 1
start_ping 2 13 80 1
got_portmap 13 29 205 6
call_portmap 2 27 179 5
recompute_portmap 3 15 70 1
nfs_pinged 17 49 304 6
nfs_timed_out 12 31 207 1
nfs_keepalive 13 39 207 1
nfs_srvr_port 8 26 154 3
start_nfs_pings 5 17 90 2
find_nfs_srvr 12 69 436 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/host_ops.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
host_match 4 10 49 1
host_init 2 6 27 1
xdr_pri_free 1 6 34 2
do_mount 5 11 97 5
sortfun 1 5 44 2
fetch_fhandle 5 21 125 3
already_mounted 3 8 51 2
host_fmount 23 92 679 1
directory_prefix 4 9 58 2
host_fumount 13 41 217 1
host_umounted 1 3 8 1
host_exec 8 35 247 4
host_mount 1 5 36 1
host_umount 1 5 34 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/xutil.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
xmallocfailure 1 6 22 1
xmalloc 4 14 65 1
xreallocarray 2 7 40 3
expand_error 6 22 164 3
show_time_host_and_name 12 29 169 1
plog 11 31 199 3
show_opts 2 11 74 2
cmdoption 16 43 244 3
switch_option 3 15 61 1
switch_to_logfile 9 28 150 1
clocktime 2 9 42 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/ufs_ops.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ufs_match 3 10 48 1
mount_ufs 1 17 114 3
ufs_fmount 2 11 51 1
ufs_fumount 1 4 16 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/clock.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
alloc_callout 2 10 36 1
free_callout 2 10 37 1
timeout 4 18 128 3
untimeout 3 11 60 1
reschedule_timeouts 5 12 82 2
softclock 7 20 116 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/mount_fs.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
compute_mount_flags 3 9 54 1
mount_fs 8 22 131 5
nextmntopt 5 16 74 1
hasmntopt 3 12 89 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/info_nis.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
determine_nis_domain 4 19 87 1
callback 4 19 140 6
nis_reload 4 21 131 3
nis_search 11 44 257 5
nis_init 7 30 141 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/restart.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
restart 14 64 461 0
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/map.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
exported_ap_realloc_map 4 11 65 1
exported_ap_alloc 8 18 114 1
exported_ap_free 7 12 67 1
insert_am 3 10 58 2
remove_am 7 12 87 1
new_ttl 1 7 42 1
mk_fattr 3 20 108 2
init_map 1 17 141 2
free_map 2 11 59 1
fh_to_mp3 21 55 327 3
fh_to_mp 1 5 20 1
mp_to_fh 1 7 47 2
find_ap2 6 16 97 2
find_ap 5 13 71 1
find_mf 4 10 51 1
root_fh 4 16 91 1
root_ap 3 7 36 2
map_flush_srvr 6 15 93 1
mount_auto_node 2 10 62 2
mount_exported 1 4 27 1
make_root_node 2 13 102 1
umount_exported 12 29 183 1
unmount_node 8 18 110 1
flush_kernel_name_cache 6 15 101 1
unmount_node_wrap 5 12 86 1
free_map_if_success 7 28 161 3
unmount_mp 11 30 213 1
timeout_mp 25 53 329 1
reschedule_timeout_mp 2 6 25 0
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
strnsave 1 7 42 2
str3cat 3 13 119 4
strealloc 2 9 57 2
strsplit 18 39 262 3
domain_strip 9 18 139 2
host_normalize 5 13 76 1
inet_dquad 1 10 77 3
valid_key 3 7 30 1
going_down 6 16 63 1
bind_resv_port 3 11 66 2
forcibly_timeout_mp 5 14 98 1
mf_mounted 6 19 117 1
am_mounted 13 28 258 1
mount_node 4 14 83 1
am_unmounted 6 11 74 1
auto_fmount 1 5 29 1
auto_fumount 1 5 29 1
dofork 3 15 54 1
background 3 9 33 1
mkdirs 8 24 146 2
rmdirs 12 26 139 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/nfs_ops.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
find_nfs_fhandle_cache 6 21 106 2
got_nfs_fh 6 17 119 6
flush_nfs_fhandle_cache 3 10 55 1
discard_fh 2 9 56 1
prime_nfs_fhandle_cache 15 72 462 4
make_nfs_auth 2 8 39 1
call_mountd 6 31 210 4
nfs_match 6 20 141 1
nfs_init 4 19 106 1
mount_nfs_fh 38 94 782 5
mount_nfs 6 18 135 4
nfs_fmount 3 10 48 1
nfs_fumount 1 4 18 1
nfs_umounted 8 16 108 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/sched.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ins_que 1 8 44 2
rem_que 1 7 36 1
sched_job 1 8 46 2
run_task 2 15 106 4
sched_task 2 8 60 3
wakeupjob 1 6 30 1
wakeup 9 17 95 1
wakeup_task 1 4 19 3
sigchld 9 29 180 1
do_task_notify 5 13 104 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/amd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
sigterm 4 15 54 1
sighup 4 7 28 1
parent_exit 1 4 12 1
daemon_mode 9 29 151 1
main 12 55 370 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/nfs_start.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
checkup 3 21 121 1
do_select 6 30 158 5
rpc_pending_now 4 24 147 1
run_rpc 21 84 462 1
bindnfs_port 2 8 35 1
unregister_amq 2 5 20 1
mount_automounter 22 74 438 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/efs_ops.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
efs_match 1 4 14 1
efs_fmount 1 4 11 1
efs_fumount 1 4 11 1
efs_lookuppn 1 5 27 4
efs_readdir 1 5 25 5
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/info_passwd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
passwd_init 2 5 31 2
passwd_search 12 50 323 5
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/pfs_ops.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
pfs_match 4 10 61 1
pfs_init 2 8 40 1
pfs_exec 7 34 208 1
pfs_fmount 1 4 18 1
pfs_fumount 1 4 20 1
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/srvr_afs.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
find_afs_srvr 2 21 115 1
wakeup_srvr 1 5 19 1
timeout_srvr 6 15 95 1
free_srvr 5 14 95 1
dup_srvr 1 5 16 1
srvrlog 1 4 29 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/afs_ops.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
afs_match 4 15 82 1
mount_toplvl 15 64 476 2
afs_mkcacheref 3 10 56 1
root_mount 1 8 51 1
afs_mount 5 17 139 1
toplvl_mount 8 33 191 1
toplvl_mounted 1 4 13 1
create_union_node 3 13 74 2
union_mounted 5 15 107 1
afs_umount 1 4 11 1
toplvl_umount 4 16 81 1
afs_umounted 3 5 29 1
free_continuation 2 12 70 1
assign_error_mntfs 3 13 76 1
afs_cont 4 30 181 3
afs_retry 6 17 120 3
try_mount 6 17 99 1
afs_bgmount 69 185 1276 2
afs_lookuppn 55 191 1140 4
next_nonerror_node 6 13 67 1
afs_readdir 18 68 486 5
dfs_readlink 5 19 103 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/info_file.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
read_line 10 24 157 3
search_or_reload_file 24 63 407 6
file_open 4 12 68 2
file_init 2 9 43 2
file_reload 2 10 81 3
file_search 3 17 101 5
file_mtime 2 9 43 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/get_args.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
debug_option 1 4 19 1
get_args 47 145 690 2
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/mntfs.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dup_mntfs 4 12 58 1
init_mntfs 3 28 227 8
alloc_mntfs 1 9 77 7
find_mntfs 14 44 355 7
new_mntfs 1 4 28 0
uninit_mntfs 7 18 121 2
discard_mntfs 1 8 37 1
flush_mntfs 4 11 66 1
free_mntfs 11 32 200 1
realloc_mntfs 7 17 132 8
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/am_ops.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ops_showfstypes 4 11 91 1
sunos4_match 4 14 116 6
ops_match 9 29 224 6
Source file: /home/sergeyb/sources/src/usr.sbin/amd/amd/opts.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
opt 10 25 125 1
eval_opts 22 71 432 2
free_op 2 7 35 2
normalize_slash 9 22 130 1
expand_op 41 165 965 2
expand_opts 3 10 64 2
apply_opts 2 6 47 3
free_opts 1 5 22 1
expand_key 1 7 35 1
deslashify 5 8 45 1
eval_fs_opts 7 26 196 6
Source file: /home/sergeyb/sources/src/usr.sbin/syslogc/syslogc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 8 28 1
main 29 97 668 2
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/eigrp.h
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/update.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_update 11 50 283 4
recv_update 3 16 103 3
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/log.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 2 8 36 1
log_verbose 1 4 11 1
logit 1 7 38 3
vlog 3 15 90 3
log_warn 3 18 111 2
log_warnx 1 7 35 2
log_info 1 7 35 2
log_debug 2 9 41 2
fatal 3 14 76 1
fatalx 1 5 18 1
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/hello.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_hello 10 27 172 3
send_peerterm 4 19 126 1
recv_hello 10 23 191 4
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
control_init 6 36 255 1
control_listen 2 12 80 1
control_cleanup 2 8 37 1
control_accept 9 34 272 3
control_connbyfd 2 9 42 1
control_connbypid 2 9 42 1
control_close 3 17 118 1
control_dispatch_imsg 27 93 597 3
control_imsg_relay 2 8 76 1
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/logmsg.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_sockaddr 2 12 79 1
log_in6addr 1 10 64 1
log_in6addr_scope 1 10 70 2
log_addr 4 18 110 2
log_prefix 2 8 61 1
log_route_origin 4 12 67 2
opcode_name 9 23 84 1
af_name 3 11 36 1
if_type_name 3 11 37 1
dual_state_name 6 17 60 1
ext_proto_name 12 29 108 1
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/eigrpe.h
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/rde.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rde_sig_handler 3 10 37 3
rde 9 42 324 2
rde_shutdown 1 12 69 1
rde_imsg_compose_parent 1 5 38 4
rde_imsg_compose_eigrpe 1 6 41 5
rde_dispatch_imsg 35 119 653 3
rde_dispatch_parent 35 139 878 3
rde_instance_init 1 11 82 1
rde_instance_del 3 13 94 1
rde_send_change_kroute 6 39 254 2
rde_send_delete_kroute 6 39 254 2
eigrp_redistribute 30 55 340 2
rt_redist_set 10 53 387 2
rt_summary_set 1 12 83 3
rt_snap 3 15 107 1
rt_to_ctl 5 35 340 2
rt_dump 10 35 215 2
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/eigrpd.h
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/reply.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_reply 13 53 300 3
recv_reply 2 13 75 3
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/interface.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
iface_id_compare 1 4 25 2
if_new 6 25 198 2
if_del 2 11 77 1
if_lookup 2 8 47 2
if_addr_new 8 24 200 2
if_addr_del 7 22 170 2
if_addr_lookup 4 11 86 2
if_primary_addr 2 8 49 1
if_primary_addr_prefixlen 2 8 45 1
if_update 14 42 221 2
eigrp_if_new 6 28 214 3
eigrp_if_del 4 18 140 1
eigrp_if_lookup 3 9 59 3
eigrp_if_lookup_id 1 6 31 1
eigrp_if_start 7 35 225 1
eigrp_if_reset 5 22 130 1
eigrp_if_hello_timer 2 10 69 3
eigrp_if_start_hello_timer 2 8 48 1
eigrp_if_stop_hello_timer 3 6 37 1
if_to_ctl 7 47 356 1
if_set_sockbuf 5 16 100 1
if_join_ipv4_group 3 17 124 2
if_leave_ipv4_group 3 17 125 2
if_set_ipv4_mcast_ttl 2 10 57 2
if_set_ipv4_mcast 2 12 66 1
if_set_ipv4_mcast_loop 2 10 57 1
if_set_ipv4_recvif 2 9 51 2
if_set_ipv4_hdrincl 2 9 53 1
if_join_ipv6_group 3 17 115 2
if_leave_ipv6_group 3 17 119 2
if_set_ipv6_mcast 2 10 60 1
if_set_ipv6_mcast_loop 2 10 59 1
if_set_ipv6_pktinfo 2 9 51 2
if_set_ipv6_dscp 2 9 51 2
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/rde.h
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/eigrpe.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
eigrpe_sig_handler 3 10 37 3
eigrpe 22 80 661 3
eigrpe_shutdown 1 20 127 1
eigrpe_imsg_compose_parent 1 4 38 4
eigrpe_imsg_compose_rde 1 6 41 5
eigrpe_dispatch_main 41 156 984 3
eigrpe_dispatch_rde 45 147 799 3
eigrpe_instance_init 1 3 9 1
eigrpe_instance_del 2 7 40 1
message_add 2 9 59 2
message_list_clr 2 8 43 1
seq_addr_list_clr 2 8 43 1
eigrpe_orig_local_route 2 25 200 3
eigrpe_iface_ctl 3 16 102 2
eigrpe_nbr_ctl 2 16 117 1
eigrpe_stats_ctl 1 13 102 1
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/packet.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
gen_eigrp_hdr 1 13 102 5
send_packet_v4 5 46 350 3
send_packet_v6 5 25 185 3
send_packet 19 71 453 4
recv_packet_nbr 16 54 316 4
recv_packet_eigrp 42 129 809 7
recv_packet 26 116 730 3
eigrp_hdr_sanity_check 10 41 227 5
find_iface 7 28 153 3
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/control.h
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/eigrpd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
main_sig_handler 5 16 62 3
usage 1 8 26 1
main 33 141 918 2
eigrpd_shutdown 9 26 166 1
start_child 10 40 207 6
main_dispatch_eigrpe 22 67 365 3
main_dispatch_rde 19 54 310 3
main_imsg_compose_eigrpe 2 6 50 4
main_imsg_compose_rde 2 6 50 4
imsg_event_add 2 9 73 1
imsg_compose_event 2 9 70 7
main_imsg_send_ipc_sockets 4 14 113 2
eigrp_find 3 8 55 3
main_imsg_send_config 6 23 168 1
eigrp_reload 3 10 58 1
eigrp_sendboth 3 8 64 3
merge_config 12 61 400 2
merge_instances 1 3 19 3
config_new_empty 2 10 56 1
config_clear 1 7 32 1
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mask2prefixlen 2 7 32 1
mask2prefixlen6 11 39 175 1
prefixlen2mask 2 6 33 1
prefixlen2mask6 3 12 82 1
eigrp_applymask 6 24 167 4
eigrp_addrcmp 5 13 109 3
eigrp_addrisset 6 18 80 2
eigrp_prefixcmp 11 38 292 4
bad_addr_v4 5 9 62 1
bad_addr_v6 7 11 51 1
bad_addr 3 11 52 2
embedscope 3 14 106 1
recoverscope 3 13 100 1
addscope 3 8 52 2
clearscope 2 7 36 1
sa2addr 3 18 106 3
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/tlv.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
gen_parameter_tlv 2 17 142 3
gen_sequence_tlv 7 36 225 2
gen_sw_version_tlv 3 20 135 1
gen_mcast_seq_tlv 1 8 59 2
len_route_tlv 4 21 116 1
gen_route_tlv 19 87 585 2
tlv_decode_parameter 2 10 57 2
tlv_decode_seq 9 49 255 4
tlv_decode_sw_version 2 10 57 2
tlv_decode_mcast_seq 2 10 57 2
tlv_decode_route 15 86 669 4
metric_encode_mtu 1 6 50 2
metric_decode_mtu 1 4 36 1
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/neighbor.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
nbr_compare 3 8 85 2
nbr_pid_compare 1 4 25 2
nbr_new 6 31 236 4
nbr_init 2 16 110 1
nbr_del 4 17 143 1
nbr_update_peerid 4 11 65 1
nbr_find 1 13 93 2
nbr_find_peerid 1 6 31 1
nbr_to_ctl 1 13 106 1
nbr_clear_ctl 8 22 162 1
nbr_timeout 1 7 56 3
nbr_start_timeout 2 8 48 1
nbr_stop_timeout 3 6 37 1
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/in_cksum.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
in_cksum 6 28 174 2
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/query.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
send_query 13 54 305 4
recv_query 2 13 75 3
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/rde_dual.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dual_fsm 9 31 199 2
rt_compare 4 12 85 2
rt_find 1 8 56 2
rt_new 3 20 151 2
rt_del 3 12 94 1
route_find 2 8 48 2
route_new 5 26 210 3
route_del 2 10 78 2
safe_sum_uint32 2 8 50 2
safe_mul_uint32 2 8 50 2
eigrp_composite_delay 1 5 30 1
eigrp_real_delay 1 4 14 1
eigrp_composite_bandwidth 1 5 20 1
eigrp_real_bandwidth 1 4 21 1
route_composite_metric 3 21 162 5
route_update_metrics 3 29 239 3
reply_outstanding_add 3 18 137 2
reply_outstanding_find 2 8 48 2
reply_outstanding_remove 1 8 52 1
reply_active_timer 1 8 60 3
reply_active_start_timer 2 9 61 1
reply_active_stop_timer 3 6 37 1
reply_sia_timer 4 24 170 3
reply_sia_start_timer 2 9 65 1
reply_sia_stop_timer 3 6 37 1
rinfo_fill_successor 3 15 114 2
rinfo_fill_infinite 1 9 71 3
rt_update_fib 12 37 221 1
rt_set_successor 3 29 235 2
rt_get_successor_fc 7 22 130 1
rde_summary_check 5 15 104 3
rde_send_update 3 10 84 2
rde_send_update_all 4 11 72 2
rde_send_query 2 8 55 3
rde_send_siaquery 1 7 48 2
rde_send_query_all 9 22 159 3
rde_flush_queries 1 9 53 1
rde_send_reply 4 14 106 3
rde_check_update 13 50 296 2
rde_check_query 19 80 493 3
rde_last_reply 11 60 360 1
rde_check_reply 9 34 195 3
rde_check_link_down_rn 10 43 244 3
rde_check_link_down_nbr 3 14 88 1
rde_check_link_down 2 8 43 1
rde_check_link_cost_change 1 3 14 2
rde_nbr_compare 1 4 25 2
rde_nbr_find 1 6 31 1
rde_nbr_new 5 18 136 2
rde_nbr_del 4 12 80 2
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/rtp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rtp_buf_new 2 8 49 1
rtp_buf_hold 1 5 19 1
rtp_buf_release 2 7 32 1
rtp_packet_new 2 12 90 3
rtp_packet_del 1 7 40 1
rtp_process_ack 4 14 95 2
rtp_send_packet 1 5 35 1
rtp_enqueue_packet 2 6 40 1
rtp_seq_inc 2 6 28 1
rtp_send_ucast 1 10 65 2
rtp_send_mcast 8 44 289 2
rtp_send 2 7 38 3
rtp_send_ack 3 15 102 1
rtp_retrans_timer 2 13 84 3
rtp_retrans_start_timer 2 8 46 1
rtp_retrans_stop_timer 3 6 37 1
rtp_ack_timer 1 5 26 3
rtp_ack_start_timer 2 8 46 1
rtp_ack_stop_timer 3 6 37 1
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/printconf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
print_mainconf 2 12 76 1
print_no 2 7 24 1
print_redist_metric 1 5 34 1
print_redistribute 9 39 205 1
print_iface 3 16 126 1
print_as 1 17 137 1
print_af 2 9 56 2
print_config 1 8 38 1
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/log.h
Source file: /home/sergeyb/sources/src/usr.sbin/eigrpd/kroute.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
kif_init 2 6 26 1
kr_init 8 35 251 2
kif_redistribute 1 13 77 1
kr_change 5 26 155 1
kr_delete 7 22 162 1
kr_shutdown 1 6 18 1
kr_fib_couple 3 17 104 1
kr_fib_decouple 3 17 104 1
kr_dispatch_msg 2 5 28 3
kr_show_route 5 26 178 1
kr_ifinfo 3 10 75 2
kr_redist_remove 2 7 43 1
kr_redist_eval 13 33 206 1
kr_redistribute 3 15 93 1
kroute_compare 6 16 114 2
kroute_find_prefix 1 8 52 3
kroute_find_prio 3 10 63 2
kroute_find_gw 2 8 62 2
kroute_insert 11 52 360 1
kroute_remove 7 36 250 1
kroute_clear 4 18 124 1
kif_compare 1 4 29 2
kif_find 1 7 47 1
kif_findname 2 8 49 1
kif_insert 3 11 77 1
kif_remove 3 14 94 1
kif_clear 2 6 32 1
kif_update 8 26 221 4
kif_validate 2 7 40 1
protect_lo 1 16 113 1
prefixlen_classful 5 13 60 1
get_rtaddrs 3 12 87 3
if_change 7 34 221 4
if_newaddr 13 53 383 4
if_deladdr 16 60 437 4
if_announce 5 19 93 1
send_rtmsg_v4 9 71 537 3
send_rtmsg_v6 9 74 613 3
send_rtmsg 3 12 63 3
fetchtable 4 30 193 1
fetchifs 4 29 184 1
dispatch_rtmsg 5 16 98 1
rtmsg_process 21 70 440 2
rtmsg_process_route 40 119 866 2
Source file: /home/sergeyb/sources/src/usr.sbin/sensorsd/sensorsd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 7 25 1
main 16 56 324 2
create 5 23 146 1
create_sdlim 7 35 268 1
destroy_sdlim 2 10 61 1
check 18 67 457 1
check_sdlim 15 56 359 2
execute 3 14 64 1
report 1 6 28 1
report_sdlim 43 178 923 2
print_sensor 25 78 495 2
parse_config 1 6 29 1
parse_config_sdlim 10 35 285 2
get_val 27 70 306 3
reparse_cfg 1 4 11 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/options.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rbtree_strcmp 5 7 64 2
nsd_options_create 5 68 451 1
nsd_options_insert_zone 3 10 68 2
nsd_options_insert_pattern 3 10 56 2
parse_options_file 35 131 795 4
options_zonestatnames_create 3 19 153 1
comp_zonebucket 1 4 31 2
zone_list_free_insert 2 18 143 3
zone_list_zone_insert 3 25 177 5
parse_zone_list_file 14 55 412 1
zone_options_delete 1 7 72 2
zone_list_add 24 111 874 3
zone_list_del 4 17 132 2
delbucket 4 15 116 2
zone_list_compact 11 71 438 1
zone_list_close 1 5 22 1
c_error_va_list_pos 7 28 236 3
c_error_msg_pos 1 7 38 3
c_error_msg 1 7 35 2
c_error 3 6 48 1
c_wrap 1 4 8 0
zone_options_create 1 11 59 1
acl_equal 13 13 163 2
acl_list_equal 6 11 61 2
pattern_options_create 2 33 191 1
acl_delete 3 10 82 2
acl_list_delete 2 9 41 2
pattern_options_remove 5 22 200 2
copy_acl 4 14 103 2
copy_acl_list 4 16 107 2
copy_changed_acl 2 8 52 3
copy_pat_fixed 4 26 190 3
pattern_options_add_modify 4 30 286 2
pattern_options_find 1 4 29 2
pattern_options_equal 38 43 484 2
marshal_u8 1 5 26 2
unmarshal_u8 1 4 15 1
marshal_u64 1 5 26 2
unmarshal_u64 1 4 15 1
marshal_u16 1 5 26 2
unmarshal_u16 1 4 15 1
marshal_u32 1 5 26 2
unmarshal_u32 1 4 15 1
marshal_str 2 10 64 2
unmarshal_str 2 10 76 2
marshal_acl 1 7 56 2
unmarshal_acl 1 11 84 2
marshal_acl_list 2 9 47 2
unmarshal_acl_list 3 12 75 2
pattern_options_marshal 2 27 230 2
pattern_options_unmarshal 2 29 258 2
key_options_create 1 7 34 1
key_options_insert 2 6 48 2
key_options_find 1 4 29 2
key_options_desetup 3 12 82 2
key_options_setup 4 25 175 2
key_options_remove 7 23 230 2
key_options_equal 3 5 54 2
key_options_add_modify 2 22 203 2
acl_check_incoming 11 32 162 3
acl_addr_matches_ipv6host 10 26 198 3
acl_addr_matches_ipv4host 10 25 186 3
acl_addr_matches_host 5 17 104 2
acl_addr_matches 5 19 120 2
acl_addr_match_mask 3 13 83 4
acl_addr_match_range 12 23 147 4
acl_key_matches 11 36 251 2
acl_same_host 15 30 218 2
key_options_tsig_add 1 8 44 1
zone_is_slave 3 4 24 1
get_char 2 9 51 2
get_end_label 2 8 52 2
replace_str 3 13 117 4
config_cook_string 9 23 250 2
config_make_zonefile 18 32 380 2
zone_options_find 1 4 30 2
acl_find_num 5 13 57 2
parse_acl_is_ipv6 4 9 42 1
parse_acl_range_type 4 21 120 2
parse_acl_range_subnet 7 21 141 3
parse_acl_info 17 57 490 3
append_acl 3 14 78 3
config_apply_pattern 12 53 347 1
nsd_options_destroy 1 4 16 1
getzonestatid 6 24 205 2
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/nsec3.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/answer.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/ipc.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/rdata.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/edns.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/lookup3.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
hash_set_raninit 1 4 11 1
hashword 6 27 143 3
hashword2 6 29 161 4
hashlittle 61 134 1512 3
hashlittle2 61 139 1566 4
hashbig 45 92 1068 3
driver1 4 15 109 0
driver2 15 62 614 0
driver3 8 80 1135 0
driver4 3 13 92 0
main 1 8 24 0
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/netio.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
netio_create 1 11 60 1
netio_add_handler 2 17 98 2
netio_remove_handler 4 18 125 2
netio_current_time 3 14 80 1
netio_dispatch 35 106 715 3
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/netio.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
operator | 1 3 21 2
operator |= 1 4 26 2
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/options.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
nsd_options_num_zones 1 2 16 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/buffer.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
buffer_cleanup 1 6 33 1
buffer_create 2 14 89 2
buffer_create_from 1 9 57 3
buffer_clear 1 6 27 1
buffer_flip 1 6 27 1
buffer_rewind 1 5 19 1
buffer_set_capacity 1 7 52 2
buffer_reserve 3 13 84 2
buffer_printf 3 23 147 3
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/tsig.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
tsig_digest_variables 3 44 291 2
tree_dname_compare 1 4 32 2
tsig_init 2 8 35 1
tsig_add_key 1 8 57 1
tsig_del_key 3 8 53 1
tsig_find_key 2 8 38 1
tsig_add_algorithm 2 11 56 1
tsig_strlowercmp 15 23 149 2
tsig_get_algorithm_by_name 5 17 93 1
tsig_error 6 25 85 1
tsig_cleanup 1 6 32 1
tsig_create_record 1 5 25 2
tsig_create_record_custom 2 11 81 5
tsig_delete_record 2 7 39 2
tsig_init_record 1 15 77 3
tsig_from_query 12 72 418 1
tsig_init_query 1 16 98 2
tsig_prepare 3 24 143 1
tsig_update 2 16 101 3
tsig_sign 1 13 95 1
tsig_verify 3 17 83 1
tsig_find_rr 4 24 141 2
tsig_parse_rr 13 72 502 2
tsig_append_rr 3 29 225 2
tsig_reserved_space 4 21 111 1
tsig_error_reply 2 6 33 1
tsig_finalize 2 4 9 0
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/xfrd-notify.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/xfrd-tcp.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/packet.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/xfrd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
xfrd_signal_callback 2 6 33 3
xfrd_sigsetup 3 11 74 1
xfrd_init 11 82 656 5
xfrd_process_activated 3 13 80 1
xfrd_sig_process 14 46 337 1
xfrd_main 4 19 79 1
xfrd_shutdown 15 55 382 0
xfrd_clean_pending_tasks 3 12 92 2
xfrd_init_slave_zone 1 37 295 2
xfrd_init_zones 2 24 183 0
xfrd_process_soa_info_task 3 53 500 1
xfrd_receive_soa 14 61 440 2
xfrd_reopen_logfile 2 5 25 1
xfrd_deactivate_zone 4 11 63 1
xfrd_del_slave_zone 13 38 274 2
xfrd_free_namedb 1 6 29 1
xfrd_set_timer_refresh 8 28 185 1
xfrd_set_timer_retry 14 45 322 1
xfrd_handle_zone 16 50 365 3
xfrd_make_request 23 90 603 1
xfrd_udp_obtain 9 37 234 1
xfrd_time 2 8 34 0
xfrd_copy_soa 3 31 413 2
xfrd_set_zone_state 5 11 59 2
xfrd_set_refresh_now 3 13 78 1
xfrd_unset_timer 2 8 46 1
xfrd_set_timer 8 23 205 2
xfrd_handle_incoming_soa 17 70 479 3
xfrd_send_expire_notification 1 6 42 1
xfrd_udp_read_packet 2 14 76 2
xfrd_udp_release 13 47 297 1
xfrd_disable_ixfr 3 9 61 1
xfrd_udp_read 12 51 264 1
xfrd_send_udp 7 38 204 3
xfrd_bind_local_interface 16 53 333 4
xfrd_tsig_sign_request 3 22 154 3
xfrd_send_ixfr_request_udp 6 33 263 1
xfrd_parse_soa_info 7 25 219 2
xfrd_xfr_check_rrs 18 95 623 6
xfrd_xfr_process_tsig 14 47 316 2
xfrd_parse_received_xfr_packet 46 188 1206 3
xfrd_pretty_time 2 8 62 1
xfrd_handle_received_xfr_packet 25 112 705 2
xfrd_set_reload_timeout 8 27 206 0
xfrd_handle_reload 1 9 61 3
xfrd_handle_notify_and_start_xfr 7 11 72 2
xfrd_handle_passed_packet 10 48 290 3
xfrd_handle_incoming_notify 10 30 200 2
find_same_master_notify 4 17 87 2
xfrd_check_failed_updates 9 38 198 0
xfrd_prepare_zones_for_reload 5 15 69 0
xfrd_get_temp_buffer 1 4 10 0
xfrd_process_stat_info_task 3 10 96 2
xfrd_process_zonestat_inc_task 1 8 88 2
xfrd_handle_taskresult 6 18 77 2
xfrd_process_task_result 2 12 86 2
xfrd_set_reload_now 2 7 38 1
xfrd_handle_write_timer 3 18 124 3
xfrd_write_timer_set 4 14 103 0
xfrd_handle_child_timer 1 7 38 3
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/nsd-control.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 33 156 0
ssl_err 1 6 28 1
setup_ctx 14 30 215 1
contact_server 20 71 508 3
setup_ssl 9 28 157 2
send_file 4 10 94 4
go_cmd 14 39 333 3
go 5 27 197 4
main 16 56 335 2
main 1 5 14 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/udb.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
udb_ptr_data 1 3 18 1
udb_ptr_is_null 1 3 17 1
udb_ptr_new 1 4 34 3
udb_ptr_unlink 2 4 25 2
udb_rptr_set_rptr 4 8 87 3
udb_rptr_set_ptr 4 7 78 3
udb_ptr_set_rptr 3 6 56 3
udb_ptr_set_ptr 1 3 27 3
udb_rptr_zero 3 5 52 2
udb_ptr_zero 1 3 21 2
udb_rel_ptr_free_space 3 7 69 3
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/udbzone.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/xfrd-disk.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
xfrd_read_token 5 13 79 1
xfrd_read_i16 2 8 40 2
xfrd_read_i32 2 8 40 2
xfrd_read_time_t 2 8 40 2
xfrd_read_check_str 3 9 47 2
xfrd_read_state_soa 18 43 358 5
xfrd_read_state 56 177 1173 1
neato_timeout 6 23 172 3
xfrd_write_dname 9 27 175 2
xfrd_write_state_soa 2 29 314 5
xfrd_write_state 8 66 563 1
tempdirname 1 5 38 3
xfrd_make_tempdir 4 14 82 1
xfrd_del_tempdir 3 9 57 1
tempxfrname 1 6 54 4
xfrd_open_xfrfile 4 17 103 3
xfrd_unlink_xfrfile 2 9 58 2
xfrd_get_xfrfile_size 2 12 75 2
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/difffile.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
write_64 1 4 25 2
write_32 1 5 32 2
write_8 1 4 25 2
write_str 2 7 44 2
diff_write_packet 20 43 326 9
diff_write_commit 12 44 299 8
diff_read_64 2 8 42 2
diff_read_32 2 9 51 2
diff_read_8 2 8 42 2
diff_read_str 4 12 69 3
add_rdata_to_recyclebin 3 13 95 2
has_data_below 4 12 62 1
rrset_zero_nonexist_check 9 18 106 2
rrset_delete 11 35 266 3
rdatas_equal 10 46 328 6
debug_find_rr_num 6 39 295 5
find_rr_num 7 20 138 6
nsec3_delete_rr_trigger 14 28 220 4
nsec3_rrsets_changed_remove_prehash 11 23 171 2
nsec3_rrsets_changed_add_prehash 8 16 115 3
nsec3_delete_rrset_trigger 10 16 114 4
nsec3_add_rr_trigger 9 17 144 4
nsec3_add_rrset_trigger 9 17 110 4
rr_lower_usage 4 13 106 2
rrset_lower_usage 2 6 43 2
delete_RR 22 89 641 10
add_RR 23 91 706 10
find_or_create_zone 9 32 215 5
delete_zone_rrs 10 38 258 2
apply_ixfr 55 224 1467 15
check_for_bad_serial 7 22 149 3
apply_ixfr_for_zone 38 141 1037 7
task_file_create 1 4 20 1
task_create_new_elem 4 22 162 5
task_new_soainfo 9 59 554 4
task_process_sync 1 6 38 1
task_remap 1 6 40 1
task_clear 2 15 127 1
task_new_expire 3 16 117 4
task_new_check_zonefiles 3 14 108 3
task_new_write_zonefiles 3 14 108 3
task_new_set_verbosity 2 13 91 3
task_new_stat_info 2 17 136 4
task_new_add_zone 2 20 169 5
task_new_del_zone 2 12 95 3
task_new_add_key 4 21 219 3
task_new_del_key 2 15 122 3
task_new_add_pattern 2 24 174 3
task_new_del_pattern 2 15 124 3
task_new_opt_change 3 16 127 3
task_new_zonestat_inc 3 15 102 3
task_new_apply_xfr 2 17 131 6
task_process_expire 8 20 145 2
task_process_set_verbosity 1 5 35 1
task_process_checkzones 3 12 77 4
task_process_writezones 3 11 61 2
task_process_add_zone 5 25 205 4
task_process_del_zone 6 25 184 2
task_process_add_key 1 10 107 2
task_process_del_key 1 6 50 2
task_process_add_pattern 1 11 88 2
task_process_del_pattern 1 6 50 2
task_process_opt_change 2 10 88 2
task_process_zonestat_inc 1 7 64 4
task_process_apply_xfr 4 23 174 4
task_process_in_reload 15 50 275 4
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/rrl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rrl_mmap_init 7 35 255 7
rrl_set_limit 1 6 29 3
rrl_init 4 7 42 1
rrl_get_source 3 16 134 2
rrlsource2str 5 28 218 2
rrlstr2type 11 14 161 1
rrltype2str 11 16 79 1
rrl_classify 19 61 416 3
examine_query 8 24 272 5
rrl_attenuate_bucket 2 9 53 2
rrl_msg 7 19 164 2
used_to_block 2 4 26 3
rrl_update 18 54 473 6
rrl_process_query 4 14 92 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/zonec.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
alloc_rdata 1 6 35 2
alloc_rdata_init 1 7 51 3
zparser_conv_hex 8 34 190 3
zparser_conv_hex_length 6 34 185 3
zparser_conv_time 2 12 76 2
zparser_conv_services 9 48 303 3
zparser_conv_serial 2 14 79 2
zparser_conv_period 2 14 79 2
zparser_conv_short 2 13 79 2
zparser_conv_byte 2 13 76 2
zparser_conv_algorithm 3 17 98 2
zparser_conv_certificate_type 3 17 104 2
zparser_conv_a 2 11 66 2
zparser_conv_aaaa 2 11 67 2
zparser_conv_ilnp64 9 62 354 2
zparser_conv_eui48 3 21 171 2
zparser_conv_eui64 3 23 201 2
zparser_conv_eui 7 36 178 3
zparser_conv_text 2 15 86 3
zparser_conv_long_text 2 10 52 3
zparser_conv_tag 6 27 165 3
zparser_conv_dns_name 1 9 61 3
zparser_conv_b32 4 17 110 2
zparser_conv_b64 3 16 91 2
zparser_conv_rrtype 2 12 70 2
zparser_conv_nxt 3 10 61 2
zparser_conv_nsec 7 38 274 2
parse_int 3 18 77 6
precsize_aton 10 35 231 2
zparser_conv_loc 49 143 957 2
zparser_conv_apl_rdata 14 80 486 2
zparser_ttl2int 2 11 55 2
zadd_rdata_wireformat 2 10 52 1
zadd_rdata_txt_wireformat 5 26 205 2
zadd_rdata_txt_clean_wireformat 4 16 115 0
zadd_rdata_domain 2 11 57 1
parse_unknown_rdata 5 31 146 2
zrdatacmp 10 38 249 3
zone_open 3 12 75 4
set_bitnsec 1 7 53 2
has_soa 4 9 53 1
process_rr 35 127 862 1
domain_find_rrset_any 3 11 48 2
check_dname 8 24 113 1
zonec_read 10 41 284 3
zonec_setup_parser 1 10 77 1
zonec_desetup_parser 2 8 27 1
zonec_setup_string_parser 1 11 77 2
zonec_desetup_string_parser 1 6 28 1
zonec_parse_string 3 22 133 6
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/rdata.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rdata_dname_to_string 1 9 41 3
rdata_dns_name_to_string 11 29 219 3
rdata_text_to_string 5 21 141 3
rdata_texts_to_string 8 25 185 3
rdata_long_text_to_string 5 21 141 3
rdata_tag_to_string 4 14 101 3
rdata_byte_to_string 1 7 43 3
rdata_short_to_string 1 7 45 3
rdata_long_to_string 1 7 45 3
rdata_a_to_string 2 11 66 3
rdata_aaaa_to_string 2 11 66 3
rdata_ilnp64_to_string 1 11 83 3
rdata_eui48_to_string 1 14 97 3
rdata_eui64_to_string 1 16 117 3
rdata_rrtype_to_string 1 7 44 3
rdata_algorithm_to_string 1 7 42 3
rdata_certificate_type_to_string 2 13 75 3
rdata_period_to_string 1 7 45 3
rdata_time_to_string 2 13 88 3
rdata_base32_to_string 3 18 112 3
rdata_base64_to_string 3 17 106 3
hex_to_string 2 14 116 3
rdata_hex_to_string 2 10 57 3
rdata_hexlen_to_string 2 10 61 3
rdata_nsap_to_string 1 7 43 3
rdata_apl_to_string 8 35 223 3
rdata_services_to_string 6 31 204 3
rdata_ipsecgateway_to_string 6 31 154 3
rdata_nxt_to_string 3 14 89 3
rdata_nsec_to_string 6 31 181 3
rdata_loc_to_string 1 6 27 3
rdata_unknown_to_string 1 8 54 3
rdata_atom_to_string 1 5 31 4
rdata_wireformat_to_rdata_atoms 38 149 767 6
rdata_maximum_wireformat_size 3 15 82 3
rdata_atoms_to_unknown_string 3 22 132 4
print_rdata 7 27 150 3
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/buffer.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
buffer_invariant 1 3 11 1
buffer_invariant 1 7 42 1
buffer_position 1 4 13 1
buffer_set_position 1 5 26 2
buffer_skip 1 5 30 2
buffer_limit 1 4 13 1
buffer_set_limit 2 7 44 2
buffer_capacity 1 4 13 1
buffer_at 1 5 27 2
buffer_begin 1 4 16 1
buffer_end 1 4 18 1
buffer_current 1 4 18 1
buffer_remaining_at 1 6 32 2
buffer_remaining 1 4 18 1
buffer_available_at 1 4 24 3
buffer_available 1 4 23 2
buffer_write_at 1 5 44 4
buffer_write 1 5 35 3
buffer_write_string_at 1 4 30 3
buffer_write_string 1 4 25 2
buffer_write_u8_at 1 5 38 3
buffer_write_u8 1 5 31 2
buffer_write_u16_at 1 5 40 3
buffer_write_u16 1 5 31 2
buffer_write_u32_at 1 5 40 3
buffer_write_u32 1 5 31 2
buffer_write_u64_at 1 5 40 3
buffer_write_u64 1 5 31 2
buffer_read_at 1 5 43 4
buffer_read 1 5 34 3
buffer_read_u8_at 1 5 34 2
buffer_read_u8 1 6 32 1
buffer_read_u16_at 1 5 36 2
buffer_read_u16 1 6 32 1
buffer_read_u32_at 1 5 36 2
buffer_read_u32 1 6 32 1
buffer_read_u64_at 1 5 36 2
buffer_read_u64 1 6 32 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/nsd-checkconf.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
zone_print_rrl_whitelist 4 12 69 2
underscore 5 17 83 1
usage 1 19 113 1
print_string_var 2 8 40 2
quote 2 7 28 1
quotepath 8 10 79 3
quote_acl 5 10 55 1
print_acl 18 43 342 2
print_acl_ips 2 8 36 2
config_print_zone 17 152 1094 7
print_zone_content_elems 14 31 233 1
config_test_print_server 18 86 723 1
append_trailing_slash 4 10 87 2
file_inside_chroot 5 5 51 2
additional_checks 24 98 655 2
main 18 78 370 2
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/region-allocator.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/udbradtree.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
udb_radix_tree_create 2 9 56 2
size_of_radarray 1 5 40 1
size_of_lookup 1 6 44 1
size_of_lookup_ext 1 4 14 1
size_of_lookup_needed 1 6 37 2
lookup 1 6 41 1
lookup_len 1 4 24 2
lookup_string 1 5 45 2
lookup_node 1 5 39 2
udb_radarray_zero_ptrs 2 7 53 2
udb_radnode_delete 3 14 111 2
udb_radnode_del_postorder 3 18 167 2
udb_radix_tree_clear 1 9 69 2
udb_radix_tree_delete 2 7 52 2
udb_radix_find_prefix_node 10 46 318 6
udb_radnode_str_grow 5 29 303 3
udb_radnode_array_grow 5 30 335 3
udb_radnode_array_create 3 19 147 2
udb_radnode_array_space 20 70 756 4
udb_radnode_str_space 4 12 73 3
udb_radsel_prefix_remainder 1 7 42 5
udb_radsel_str_create 1 6 42 5
udb_bstr_common 1 6 43 4
udb_bstr_is_prefix 1 6 43 4
udb_radnode_array_space_strremain 1 6 50 5
udb_radsel_split 20 137 1365 7
udb_radix_insert 19 116 1003 6
udb_radnode_cleanup_onechild 2 29 304 2
udb_radarray_reduce 3 29 323 4
udb_radarray_max_len 4 11 83 1
udb_radarray_reduce_if_needed 7 10 109 2
udb_radnode_array_clean_all 1 6 42 2
udb_radnode_array_clean_front 9 31 372 2
udb_radnode_array_clean_end 5 15 115 2
udb_radnode_cleanup_leaf 7 20 159 3
udb_radnode_cleanup 10 38 261 3
udb_radix_delete 3 9 60 3
udb_radix_search 8 30 244 3
udb_radnode_last_in_subtree 6 27 215 2
udb_radnode_last_in_subtree_incl_self 3 18 109 2
udb_radnode_first_in_subtree 5 23 165 2
udb_radnode_find_prev_from_idx 4 14 93 3
udb_ret_self_or_prev 2 11 67 3
udb_radix_find_less_equal 16 87 657 5
udb_radix_first 5 10 79 3
udb_radix_last 4 8 66 3
udb_radix_next 8 38 268 2
udb_radix_prev 4 21 152 2
udb_radname_insert 1 8 73 6
udb_radname_search 1 12 90 5
udb_radix_tree_walk_chunk 1 8 66 5
udb_radix_node_walk_chunk 1 10 96 5
udb_radix_array_walk_chunk 2 12 107 5
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/util.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
write_uint16 2 7 66 2
write_uint32 2 9 104 2
write_uint64 1 12 168 2
read_uint16 2 6 46 1
read_uint32 2 6 66 1
read_uint64 1 13 119 1
timeval_to_timespec 1 6 33 2
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/dname.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dname_make 9 54 366 3
dname_make_from_packet 2 8 51 4
dname_make_wire_from_packet 13 55 307 3
dname_parse 2 7 42 2
dname_parse_wire 17 62 356 2
dname_copy 1 5 30 2
dname_partial_copy 3 10 62 3
dname_origin 1 4 27 2
dname_is_subdomain 4 12 74 2
dname_compare 5 22 122 2
label_compare 3 20 116 2
dname_label_match_count 4 14 79 2
dname_to_string 12 44 274 2
dname_make_from_label 2 10 78 3
dname_concatenate 1 10 85 3
dname_replace 4 29 281 4
wirelabel2str 7 21 132 1
wiredname2str 10 29 178 1
dname_equal_nocase 7 19 126 3
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/nsec3.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
cmp_hash_tree 4 9 85 2
cmp_wchash_tree 4 9 85 2
cmp_dshash_tree 4 9 85 2
cmp_nsec3_tree 1 8 92 2
nsec3_zone_trees_create 5 11 85 2
nsec3_hash_tree_clear 1 7 37 1
detect_nsec3_params 3 9 90 4
nsec3_b32_create 1 9 74 3
nsec3_hash_and_store 1 10 76 3
nsec3_lookup_hash_and_wc 3 14 106 4
nsec3_lookup_hash_ds 2 9 50 3
nsec3_has_soa 4 9 60 1
check_apex_soa 5 42 267 2
udb_zone_find_nsec3param 13 30 336 3
db_find_nsec3param 9 35 310 2
nsec3_find_zone_param 2 7 56 4
nsec3_rdata_params_ok 5 14 139 2
nsec3_rr_uses_params 3 6 40 2
nsec3_in_chain_count 5 13 84 2
nsec3_chain_find_prev 5 12 75 2
nsec3_clear_precompile 7 33 227 2
nsec3_domain_part_of_zone 3 9 42 2
nsec3_condition_hash 4 5 40 2
nsec3_condition_dshash 5 6 51 2
nsec3_tree_zone 7 16 94 2
nsec3_tree_dszone 2 6 32 2
nsec3_find_cover 4 25 175 4
nsec3_precompile_domain 2 21 188 4
nsec3_precompile_domain_ds 2 16 126 3
parse_nsec3_name 3 11 92 3
nsec3_precompile_nsec3rr 2 10 71 3
nsec3_precompile_newparam 10 30 237 2
prehash_zone_complete 8 23 165 2
init_lookup_key_hash_tree 1 2 25 2
init_lookup_key_wc_tree 1 2 25 2
init_lookup_key_ds_tree 1 2 25 2
process_first 4 20 110 4
process_end 4 20 108 4
process_range 14 54 486 4
process_prehash_domain 3 15 118 2
prehash_zone 4 16 96 2
nsec3_add_rrset 3 9 58 4
nsec3_add_nonexist_proof 2 22 144 4
nsec3_add_closest_encloser_proof 4 11 69 4
nsec3_answer_wildcard 3 9 53 4
nsec3_add_ds_proof 15 35 244 4
nsec3_answer_nodata 21 41 284 3
nsec3_answer_delegation 2 6 38 2
domain_has_only_NSEC3 6 17 89 2
nsec3_answer_authoritative 20 42 290 5
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/ipc.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
ipc_child_quit 3 9 40 1
child_handle_parent_command 12 52 313 3
parent_handle_xfrd_command 9 45 226 3
send_stat_to_child 4 12 80 2
debug_print_fwd_name 2 19 132 3
send_quit_to_child 5 15 107 2
child_is_done 5 22 177 2
stats_add 5 27 285 2
stats_subtract 5 25 269 2
read_child_stats 2 13 112 3
parent_handle_child_command 33 136 888 3
parent_check_all_children_exited 4 12 76 1
parent_handle_reload_command 10 48 281 3
xfrd_send_reload_req 4 25 260 1
ipc_xfrd_set_listening 3 12 102 2
xfrd_send_shutdown_req 2 12 81 1
xfrd_send_quit_req 2 12 81 1
xfrd_send_stats 2 10 66 1
xfrd_handle_ipc 14 30 174 3
xfrd_handle_ipc_read 19 104 707 2
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/packet.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
encode_dname 4 26 191 2
packet_encode_rr 5 48 311 4
for 2 10 61 1
for 2 9 55 0
if 5 22 134 0
if 1 7 50 0
if 1 6 36 0
packet_skip_dname 7 21 110 0
packet_skip_rr 6 20 104 0
packet_read_rr 7 37 246 0
packet_read_query_section 7 29 184 0
packet_find_notify_serial 13 43 265 0
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/mini_event.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
mini_ev_cmp 7 18 134 2
settime 2 8 45 1
event_init 9 41 268 2
event_get_version 1 4 10 1
event_get_method 1 4 9 1
handle_timeouts 6 29 215 3
handle_select 14 43 321 2
event_base_loop 6 16 87 2
event_base_dispatch 6 18 89 1
event_base_loopexit 1 6 26 2
event_base_free 5 13 67 1
event_set 1 10 71 5
event_base_set 1 6 29 2
event_add 12 32 292 2
event_del 6 16 164 1
sigh 5 10 59 1
signal_add 3 13 98 2
signal_del 3 8 50 1
mini_ev_cmp 1 4 23 2
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/tsig-openssl.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/configyyrename.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/remote.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/rbtree.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rbtree_create 2 13 80 2
rbtree_rotate_left 4 19 114 2
rbtree_rotate_right 4 19 114 2
rbtree_insert_fixup 8 40 279 2
rbtree_insert 6 32 169 2
rbtree_search 2 9 40 2
swap_int8 1 4 29 2
swap_np 1 4 30 2
change_parent_ptr 8 13 108 4
change_child_ptr 4 6 53 3
rbtree_delete 13 50 396 2
rbtree_delete_fixup 29 84 495 3
rbtree_find_less_equal 4 22 108 3
rbtree_first 2 6 36 1
rbtree_last 2 6 36 1
rbtree_next 5 15 83 1
rbtree_previous 5 15 83 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/difffile.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/tsig-openssl.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
tsig_openssl_init_algorithm 4 29 164 4
tsig_openssl_init 2 19 105 1
cleanup_context 2 7 33 1
create_context 3 9 54 1
init_context 1 8 57 3
update 1 5 43 3
final 1 7 53 3
tsig_openssl_finalize 2 4 9 0
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/nsd-mem.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 6 24 1
error 1 8 40 2
account_zone 2 11 101 2
pretty_mem 5 14 175 2
print_zone_mem 1 7 45 1
account_total 3 14 125 2
print_tot_mem 2 15 109 1
add_mem 1 8 54 2
check_zone_mem 2 27 221 5
check_mem 5 23 205 1
writepid 1 4 15 1
unlinkpid 1 3 12 1
bind8_stats 1 3 12 1
sig_handler 1 3 10 1
main 20 61 388 2
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/iterated_hash.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
iterated_hash 6 22 150 6
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/nsd.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 36 74 1
version 1 10 38 1
error 1 8 40 2
append_trailing_slash 4 10 87 2
file_inside_chroot 5 5 51 2
get_ip_port_frm_str 3 13 63 3
add_interface 2 17 225 3
readpid 6 25 139 1
writepid 4 25 184 1
unlinkpid 4 14 87 1
sig_handler 15 45 150 1
bind8_stats 20 46 548 1
main 187 554 4062 2
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/nsd.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/namedb.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
domain_table_count 2 5 22 1
domain_dname 2 5 28 1
domain_dname_const 2 5 26 1
domain_previous 4 7 61 1
domain_next 4 7 61 1
domain_is_subdomain 1 2 26 2
domain_to_string 1 2 19 1
rdata_atom_domain 1 4 12 1
rdata_atom_size 1 4 13 1
rdata_atom_data 1 4 20 1
rdata_atom_is_domain 3 8 49 2
rdata_atom_is_literal_domain 2 7 40 2
rdata_atom_wireformat_type 1 7 40 2
rrset_rrtype 1 6 32 1
rrset_rrclass 1 6 32 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/namedb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
allocate_domain_info 3 29 173 3
allocate_domain_nsec3 2 21 162 2
numlist_make_last 5 32 192 2
numlist_pop_last 2 8 43 1
domain_can_be_deleted 5 10 54 1
domain_is_prehash 4 7 44 2
zone_del_domain_in_hash_tree 2 7 36 2
prehash_clear 2 11 59 1
prehash_add 3 10 62 2
prehash_del 3 12 87 2
do_deldomain 11 32 290 2
domain_table_deldomain 2 7 34 2
hash_tree_clear 3 10 59 1
hash_tree_delete 1 4 24 2
zone_add_domain_in_hash_tree 3 11 85 5
domain_table_create 5 35 245 1
domain_table_search 4 29 186 4
domain_table_find 2 10 46 2
domain_table_insert 6 36 201 2
domain_previous_existing_child 4 11 53 1
domain_add_rrset 8 21 141 2
domain_find_rrset 4 11 58 3
domain_find_any_rrset 3 11 48 2
domain_find_zone 5 16 84 2
domain_find_parent_zone 5 13 86 2
domain_find_ns_rrsets 4 11 62 3
find_dname_above 4 10 55 2
domain_is_glue 2 7 48 2
domain_wildcard_child 3 14 58 1
zone_is_secure 1 5 18 1
rr_rrsig_type_covered 1 7 63 1
namedb_find_zone 2 7 50 2
domain_find_non_cname_rrset 9 17 90 2
namedb_lookup 1 8 36 4
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/axfr.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/util.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_init 1 5 17 1
log_open 4 14 70 3
log_reopen 8 20 103 2
log_finalize 4 8 29 1
log_file 7 34 231 2
log_syslog 2 5 28 2
log_set_log_function 1 4 12 1
log_msg 1 7 38 3
log_vmsg 1 6 42 3
set_bit 1 4 32 2
clear_bit 1 4 32 2
get_bit 1 4 33 2
lookup_by_name 3 9 45 2
lookup_by_id 3 9 38 2
xalloc 2 9 43 1
xmallocarray 2 9 50 2
xalloc_zero 2 9 45 1
xalloc_array_zero 2 9 48 2
xrealloc 2 9 47 2
mmap_alloc 3 14 99 1
mmap_free 4 14 91 1
write_data 4 16 89 3
write_socket 5 18 92 3
get_time 4 16 101 1
timespec_compare 5 17 89 2
timespec_add 2 10 52 2
timespec_subtract 2 10 52 2
strtoserial 15 31 128 2
strtottl 26 61 246 2
hex_ntop 3 17 132 4
hex_pton 6 16 118 3
b32_ntop 14 59 418 4
b32_pton 11 33 220 3
strip_string 5 16 100 1
hexdigit_to_int 23 23 133 1
is_leap_year 3 4 28 1
leap_days 1 6 47 2
mktime_from_utc 4 20 132 1
compute_crc 2 7 43 3
write_data_crc 1 6 52 4
compare_serial 6 11 78 2
qid_generate 2 5 22 1
random_generate 3 6 43 1
cleanup_region 1 5 23 1
create_pretty_rr 1 11 67 1
set_previous_owner 1 7 49 2
print_rr 8 49 282 5
rcode2str 12 30 87 1
addr2str 5 15 98 3
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/query.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
query_get_dname_offset 1 4 23 2
query_overflow 1 4 26 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/answer.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
answer_init 1 4 14 1
answer_add_rrset 7 27 171 4
encode_answer 14 41 246 2
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/dname.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
dname_label_offsets 1 4 29 1
dname_name 1 6 38 1
dname_label 1 9 58 2
dname_total_size 1 6 44 1
label_is_normal 1 5 26 1
label_is_pointer 1 5 26 1
label_pointer_location 1 6 48 1
label_length 1 6 28 1
label_data 1 6 27 1
label_is_root 1 5 22 1
label_is_wildcard 2 5 29 1
label_next 1 7 41 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/query.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
query_put_dname_offset 3 13 80 3
query_clear_dname_offsets 3 10 69 2
query_clear_compression_tables 2 9 58 1
query_add_compression_domain 2 13 82 3
query_error 2 16 104 2
query_ratelimit_err 3 12 56 1
query_formerr 2 9 66 2
query_cleanup 1 5 25 1
query_create 1 16 117 3
query_reset 2 30 191 3
query_get_tempdomain 2 11 84 1
query_addtxt 3 24 165 5
process_query_section 2 10 66 1
process_edns 11 29 185 2
process_tsig 5 29 244 1
answer_notify 19 86 665 2
answer_chaos 12 42 276 2
find_covering_nsec 7 21 101 3
add_additional_rrsets 10 44 325 6
answer_needs_ns 2 5 29 1
add_rrset 12 47 233 5
query_synthesize_cname 14 68 527 8
answer_delegation 8 28 187 2
answer_soa 2 9 44 2
answer_nodata 8 17 118 3
answer_nxdomain 1 5 28 2
answer_domain 19 52 386 5
answer_authoritative 31 117 816 8
answer_lookup_zone 31 60 435 8
answer_query 1 19 166 2
query_prepare_response 1 12 89 1
query_process 38 93 650 2
query_add_optional 20 61 509 2
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/edns.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
edns_init_data 1 13 140 2
edns_init_nsid 1 9 106 2
edns_init_record 1 9 44 1
edns_handle_option 3 20 100 6
edns_parse_record 11 48 272 4
edns_reserved_space 2 4 27 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/radtree.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/udbzone.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
udb_zone_delete_plain 1 15 141 2
udb_dns_init_file 2 10 47 1
udb_dns_deinit_file 3 19 142 1
udb_zone_create 5 50 449 4
rr_delete 1 6 55 2
rrset_delete 2 18 161 2
domain_clear 2 16 135 2
domain_delete 1 7 52 2
domain_delete_unlink 1 11 100 3
udb_zone_clear 2 23 212 2
udb_zone_delete 1 11 93 2
udb_zone_search 3 15 114 4
udb_zone_get_mtime 2 13 86 4
udb_zone_set_log_str 4 21 167 3
udb_zone_set_file_str 4 21 167 3
udb_zone_get_file_str 3 17 114 3
select_nsec3_param 5 15 134 3
udb_nsec3param_string 2 18 189 1
zone_hash_nsec3param 3 14 102 3
domain_create 3 22 196 5
udb_domain_find 3 13 108 5
domain_find_or_create 2 8 66 5
domain_remove_rrset 4 25 196 3
rrset_create 5 22 215 4
udb_rrset_find 3 12 91 4
rrset_find_or_create 2 6 47 4
rr_match 4 6 65 5
rr_search 3 13 105 7
rr_create 2 14 115 7
rrset_add_rr 4 20 183 7
rrset_del_rr 4 27 214 6
udb_zone_add_rr 12 40 323 9
udb_zone_del_rr 14 41 339 8
udb_zone_walk_chunk 1 12 130 5
udb_domain_walk_chunk 1 9 85 5
udb_rrset_walk_chunk 1 9 81 5
udb_rr_walk_chunk 1 8 70 5
udb_task_walk_chunk 1 8 64 5
namedb_walkfunc 9 33 189 7
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/radtree.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
radix_tree_create 2 8 52 1
radix_tree_init 1 5 21 1
radnode_del_postorder 3 11 110 2
radix_tree_clear 1 6 32 1
radix_tree_delete 2 6 36 1
radnode_last_in_subtree 6 16 116 1
radnode_last_in_subtree_incl_self 3 7 38 1
radnode_first_in_subtree 5 14 96 1
radnode_find_prev_from_idx 4 13 68 2
radix_find_prefix_node 10 39 233 5
radnode_array_grow 4 18 172 3
radnode_array_space 14 41 409 3
radsel_str_create 2 10 84 5
bstr_is_prefix 3 9 50 4
bstr_common 4 9 68 4
bstr_is_prefix_ext 1 5 30 4
bstr_common_ext 1 5 30 4
radsel_prefix_remainder 2 11 82 6
radsel_split 20 122 1088 6
radix_insert 20 91 749 4
radnode_delete 3 10 96 2
radnode_cleanup_onechild 4 27 283 3
radnode_array_clean_all 1 8 57 2
radnode_array_reduce_if_needed 4 12 120 2
radnode_array_clean_front 7 22 187 2
radnode_array_clean_end 5 15 96 2
radnode_cleanup_leaf 4 19 153 3
radnode_cleanup 7 22 129 2
radix_delete 3 8 44 2
radix_search 9 28 184 3
ret_self_or_prev 2 7 37 2
radix_find_less_equal 16 61 444 4
radix_first 4 8 48 1
radix_last 3 5 30 1
radix_next 9 24 145 1
radix_prev 5 15 80 1
char_d2r 3 6 36 1
char_r2d 2 6 29 1
cpy_d2r 2 6 45 3
cpy_r2d 2 6 44 3
radname_d2r 7 40 263 4
radname_r2d 8 39 266 4
radname_insert 2 9 74 4
radname_delete 2 5 42 3
radname_search 19 62 373 3
radname_find_less_equal 24 103 602 4
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/zonec.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/dns.h
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
operator ++ 1 5 26 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/udb.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
chunk_from_dataptr 2 7 42 1
chunk_from_dataptr_ext 1 3 13 1
chunk_get_last 1 4 38 3
chunk_set_last 1 4 42 4
udb_base_create_fd 23 127 895 4
udb_base_create_read 2 10 64 3
udb_glob_init_new 1 6 33 1
write_fdata 3 14 96 4
udb_base_create_new 9 40 305 3
udb_base_shrink 3 11 87 2
udb_base_close 10 21 137 1
udb_base_free 2 10 46 1
udb_base_free_keep_mmap 3 13 72 1
udb_base_sync 5 9 62 2
chunk_hash_ptr 1 6 53 1
udb_ptr_is_on_bucket 3 11 76 3
grow_ram_hash 4 22 143 2
udb_base_link_ptr 6 20 154 2
udb_base_unlink_ptr 4 16 122 2
udb_base_ram_ptr_edit 3 15 88 3
udb_base_get_userdata 1 4 16 1
udb_base_set_userdata 3 5 43 2
udb_base_set_userflags 1 4 19 2
udb_base_get_userflags 1 4 15 1
udb_base_remap 9 36 311 3
udb_base_remap_process 1 4 23 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/server.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
delete_child_pid 6 18 142 2
restart_child_servers 11 87 708 4
set_bind8_alarm 2 5 41 1
zonestatid_tree_set 2 8 65 1
server_zonestat_alloc 11 73 741 1
zonestat_remap 7 22 228 3
server_zonestat_realloc 7 28 247 1
server_zonestat_switch 2 10 71 1
cleanup_dname_compression_tables 1 6 21 1
initialize_dname_compression_tables 3 21 126 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/region-allocator.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
alloc_region_base 3 32 201 3
region_create 3 16 96 2
region_create_custom 6 35 197 6
region_destroy 5 21 109 1
region_add_cleanup 3 19 146 3
region_remove_cleanup 4 13 91 3
region_alloc 11 59 423 2
region_alloc_init 2 7 47 3
region_alloc_zero 2 7 42 2
region_alloc_array_init 5 10 67 4
region_alloc_array_zero 5 9 60 3
region_alloc_array 5 9 60 3
region_free_all 5 35 216 1
region_strdup 1 4 32 2
region_recycle 10 37 241 3
region_dump_stats 7 25 176 2
region_get_recycle_size 1 4 13 1
region_get_mem 1 4 13 1
region_get_mem_unused 1 4 13 1
region_log_stats 7 36 239 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/remote.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
log_crypto_err 2 11 77 1
timeval_subtract 2 11 69 3
daemon_remote_create 15 81 525 1
daemon_remote_close 7 29 163 1
daemon_remote_delete 3 9 41 1
create_tcp_accept_sock 14 37 277 2
add_open 10 41 285 4
daemon_remote_open_ports 9 21 134 2
daemon_remote_attach 5 17 129 2
remote_accept_callback 19 86 544 3
state_list_remove_elem 3 6 54 2
stats_list_remove_elem 3 10 54 2
clean_point 4 15 95 2
ssl_print_text 4 17 92 2
ssl_print_vmsg 1 6 44 3
ssl_printf 1 9 47 3
ssl_read_line 6 26 145 3
skipwhite 2 6 26 1
send_ok 1 4 18 1
get_zone_arg 4 22 134 4
do_stop 2 8 47 2
do_log_reopen 1 5 22 2
do_reload 3 10 83 3
do_write 3 10 83 3
do_notify 4 22 134 3
do_transfer 4 22 139 3
force_transfer_zone 3 10 62 1
do_force_transfer 4 22 135 3
print_soa_status 4 12 77 4
print_zonestatus 27 62 441 3
do_zonestatus 4 14 89 3
do_verbosity 4 17 108 2
find_arg2 4 15 89 3
do_status 5 11 68 2
do_stats 3 13 97 3
zonestat_inc_ifneeded 3 8 59 1
perform_addzone 7 41 298 3
perform_delzone 6 36 236 3
do_addzone 2 6 35 3
do_delzone 2 6 35 3
do_addzones 7 19 117 2
do_delzones 7 19 117 2
remove_key 1 7 51 2
add_key 1 7 51 2
repat_keys 5 20 157 2
parse_implicit_name 2 8 47 2
remove_cfgzone 4 23 160 2
add_cfgzone 6 25 194 2
remove_pat 1 7 51 2
add_pat 1 7 51 2
repat_interrupt_zones 8 39 249 2
repat_interrupt_notify_start 5 14 76 1
repat_patterns 23 80 506 2
repat_options_changed 5 11 77 2
repat_options 3 11 87 2
print_ssl_cfg_err 3 7 49 2
do_repattern 6 31 208 2
do_serverpid 1 4 29 2
cmdcmp 4 4 51 3
execute_cmd 20 45 541 4
handle_req 8 34 256 3
remote_control_callback 15 71 470 3
opcode2str 6 11 48 1
print_longnum 2 11 98 3
print_stat_block 33 67 613 4
resize_zonestat 2 10 75 2
zonestat_print 11 37 357 3
print_stats 14 42 382 4
clear_stats 2 12 103 1
daemon_remote_process_stats 5 20 146 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/mini_event.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/iterated_hash.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/dns.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
rrtype_descriptor_by_type 3 8 41 1
rrtype_descriptor_by_name 6 17 94 1
rrtype_to_string 2 11 59 1
rrtype_from_string 55 95 471 1
rrclass_to_string 2 12 83 1
rrclass_from_string 8 22 132 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/xfrd-disk.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/nsd-checkzone.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
usage 1 6 24 1
error 1 8 40 2
check_zone 3 24 175 3
writepid 1 4 15 1
unlinkpid 1 3 12 1
bind8_stats 1 3 12 1
sig_handler 1 3 10 1
main 6 33 188 2
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/xfrd-tcp.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
xfrd_pipe_cmp 7 17 149 2
xfrd_tcp_set_create 2 14 99 1
xfrd_tcp_pipeline_create 2 13 110 1
xfrd_setup_packet 1 16 111 5
xfrd_acl_sockaddr 4 22 162 4
xfrd_acl_sockaddr_to 3 6 54 2
xfrd_acl_sockaddr_frm 3 6 48 2
xfrd_write_soa_buffer 1 21 241 3
xfrd_tcp_create 1 9 66 2
pipeline_find 6 25 200 2
tcp_zone_waiting_list_popfirst 2 10 61 2
tcp_pipe_sendlist_remove 4 12 77 2
tcp_pipe_sendlist_popfirst 2 8 48 2
tcp_pipe_id_remove 2 10 105 2
xfrd_tcp_pipe_stop 4 19 142 1
tcp_pipe_reset_timeout 5 16 133 1
xfrd_handle_tcp_pipe 7 21 149 3
pipeline_setup_new_zone 3 24 183 3
xfrd_tcp_obtain 13 71 463 2
xfrd_tcp_open 17 80 583 3
xfrd_tcp_setup_write_packet 9 34 295 2
tcp_conn_ready_for_reading 1 6 28 1
conn_write 14 51 402 1
xfrd_tcp_write 13 49 296 2
conn_read 20 56 384 1
xfrd_tcp_read 14 61 320 1
xfrd_tcp_release 10 35 281 2
xfrd_tcp_pipe_release 8 43 322 3
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/axfr.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
query_axfr 22 114 681 2
answer_axfr_ixfr 13 44 307 2
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/udbradtree.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/dbaccess.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
namedb_close 3 12 54 1
namedb_close_udb 2 7 28 1
apex_rrset_checks 8 35 280 3
read_rr 2 19 156 4
calculate_rr_count 2 12 75 2
read_rrset 4 24 218 5
read_node_elem 5 25 207 5
read_zone_recurse 5 20 163 5
read_zone_data 2 11 95 5
namedb_zone_create 2 31 210 3
namedb_zone_delete 7 28 219 2
read_zone 5 23 184 5
read_zones 3 19 154 4
try_read_udb 3 23 142 4
namedb_open 12 55 352 2
file_get_mtime 4 16 100 3
namedb_read_zonefile 31 112 842 4
namedb_check_zonefile 2 11 84 4
namedb_check_zonefiles 2 9 60 4
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/dbcreate.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
add_rdata 5 22 144 4
rr_marshal_rdata 2 10 65 3
udb_del_rr 1 9 80 3
udb_write_rr 2 15 120 3
write_rrset 3 9 60 3
write_zone 10 26 208 3
write_zone_to_udb 4 28 219 4
print_rrs 11 47 291 2
print_header 4 11 112 4
write_to_zonefile 5 26 163 3
create_dirs 5 25 138 1
create_path_components 3 14 75 2
namedb_write_zonefile 21 75 623 2
namedb_write_zonefiles 1 7 40 2
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/xfrd-notify.c
Function nameCyclomatic complexity (15)LOC (1000) Token count Parameter count (100)
notify_send_disable 2 8 45 1
notify_disable 7 27 141 1
init_notify_send 1 19 165 3
xfrd_del_notify 6 22 157 2
xfrd_handle_notify_reply 6 25 153 2
xfrd_notify_next 2 12 59 1
xfrd_notify_send_udp 9 46 355 2
xfrd_handle_notify_send 9 34 222 3
setup_notify_active 4 16 124 1
notify_enable 6 29 174 2
xfrd_notify_start 5 10 73 2
xfrd_send_notify 2 9 58 3
notify_handle_master_zone_soainfo 7 13 92 3
close_notify_fds 2 9 36 1
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/rbtree.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/rrl.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/tsig.h
Source file: /home/sergeyb/sources/src/usr.sbin/nsd/xfrd.h